Compare commits

...
1049 Commits
Author SHA1 Message Date
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
waozi 284b955e81 vendor: fix clean native package builds 2026-09-05 10:01:23 -03:00
waozi a3a27341f8 vendor: update Kryon CI-stable runtime 2026-09-05 08:39:36 -03:00
waozi 9790b7a9f2 vendor: stabilize Kryon web asset startup 2026-09-05 00:50:01 -03:00
waozi 2fa5f95253 vendor: update Kryon slider API and theme build 2026-09-04 21:06:12 -03:00
waozi 9b8da214ea release: prepare 1.9.19 2026-09-04 20:59:16 -03:00
waozi dbaa13d399 vendor: update Kryon held-key repeat 2026-09-04 20:58:21 -03:00
waozi dd63d00afe vendor: update Kryon to v0.1.48 2026-09-04 20:53:27 -03:00
waozi 1e8a1b15fa vendor: update Kryon to v0.1.47 2026-09-04 20:50:28 -03:00
waozi 5dc0d8a019 ui: update to latest Kryon icon runtime 2026-09-04 20:39:19 -03:00
waozi 6713feffd5 vendor: update Kryon to v0.1.45 2026-09-04 20:29:15 -03:00
waozi 285c7b1d6b vendor: keep indicator menus open during updates 2026-09-04 19:28:46 -03:00
waozi d3ff335f13 vendor: enable tear-free Kryon presentation 2026-09-04 19:24:59 -03:00
waozi c57c5ff5b3 vendor: smooth large Kryon circles 2026-09-04 19:20:07 -03:00
waozi 194d6d88ae Update Kryon for Windows close handling 2026-09-04 19:17:30 -03:00
waozi d0e011b9aa Document Windows close handling fix 2026-09-04 19:15:21 -03:00
waozi 359b0de16f vendor: enable Kryon anti-aliasing 2026-09-04 19:05:06 -03:00
waozi 8acc832404 ci: fix Windows and FreeBSD release builds 2026-09-04 18:48:41 -03:00
waozi 83ac5dfba1 release: prepare 1.9.18 2026-09-04 18:33:50 -03:00
waozi 9618237931 practice: add guides for every activity 2026-09-04 18:21:05 -03:00
waozi 370fea5bd3 ui: redesign Wim Hof how-to flow 2026-09-04 17:46:01 -03:00
waozi 30d86a2db4 Add swipe navigation to practice guides 2026-09-04 16:38:42 -03:00
waozi a81b741976 Use Kryon outlined buttons for Practice actions 2026-09-04 16:13:44 -03:00
waozi e24af8038a Refine Practice screen hierarchy 2026-09-04 16:03:21 -03:00
waozi b1aceaccf6 Fix Android build with shared Kryon image decoding 2026-09-04 15:36:48 -03:00
waozi d43384147c Update Kryon to latest master 2026-09-04 15:28:28 -03:00
waozi 0f28310634 Bring the legacy converter into the Inbe theme 2026-09-02 16:13:18 -03:00
waozi 2d261e369b Add a creative color system to the Inbe site 2026-09-02 15:30:39 -03:00
waozi c40e444a4f Expose direct Inbe platform downloads 2026-09-02 15:20:06 -03:00
waozi 4ad1792021 Expand Inbe downloads and modernize web icons 2026-09-02 15:14:43 -03:00
waozi d0d97fc3b8 Link Inbe production downloads 2026-09-02 14:58:42 -03:00
waozi 01fded007e Redesign the Inner Breeze website in blue 2026-09-02 14:51:30 -03:00
waozi fe878997f6 Fix GPlay bundle resource splits 2026-09-01 22:10:40 -03:00
waozi 6ee6e5b5ad Stabilize web smoke async hooks 2026-09-01 21:29:33 -03:00
waozi cc8e8a41bd Stabilize web smoke guide hooks 2026-09-01 20:45:25 -03:00
waozi 18daef3d69 Bump Kryon for KRB mount test fix 2026-09-01 20:13:56 -03:00
waozi 4fc9f7db00 Bump Kryon for app storage CI fix 2026-09-01 20:05:14 -03:00
waozi 61c372330c Support LAN Daochi sync in debug builds 2026-09-01 19:31:19 -03:00
waozi 93d0e881fc Guard miniz with a real include guard
The header used #pragma once, which the native Plan 9 toolchain does
not honor; a second inclusion in one translation unit redeclared every
enum value. The plan9 build no longer needs the wrapper header that
masked this.
2026-08-31 18:21:01 -03:00
waozi c41011ff4b Keep the source includes ahead of the generated ones 2026-08-31 18:10:41 -03:00
waozi 7631dfae28 Carry the generated src include for the project file 2026-08-31 18:01:04 -03:00
waozi 1f8e16e491 Build with the shared plan9 rules and resolve the data root from Kryon
The mkfile now includes kryon's mk/plan9-app.mk instead of carrying
its own copy of the recipe, and the data root falls back to
KryAppDataRoot so the per-platform path policy lives in the runtime.
2026-08-31 17:50:50 -03:00
waozi d262e9babb Bump the vendored Kryon for the nested literal plan9 fixes 2026-08-31 17:21:07 -03:00
waozi 4728ba8bec Type the member and struct copy locals for the plan9 pass 2026-08-31 17:08:54 -03:00
waozi 89343e0607 Type the generated habit name as text 2026-08-31 16:54:41 -03:00
waozi 4bcc744c8d Move site deployment to Cloudflare Pages 2026-08-31 16:48:31 -03:00
waozi 618a77f3a2 Type the mouse delta locals 2026-08-31 16:45:34 -03:00
waozi 272aea7bd4 Type the leaderboard metric selection 2026-08-31 16:36:42 -03:00
waozi 3a40c10336 Type the nav scrim as Color 2026-08-31 16:25:09 -03:00
waozi 843c908e0a Declare the viewport extents in app.h
The generated sources reference view_width and view_height; the
declarations lived in narrower headers, and the Plan 9 include order
no longer reaches them through the per-app shim the old rewriter
injected.
2026-08-31 16:00:59 -03:00
waozi 0a267df3f6 Generate the Plan 9 build with k2c --plan9
The vendored Kryon compiler now emits 8c-safe C directly, so the
per-project rewriter script is gone: kry-c-plan9 runs k2c with --plan9
across the kryon, sqlite, and generated include dirs, writes the
generated file list, and builds the embedded asset table. The handful
of declarations the pass cannot type (member pointers and ternaries
over locals) now carry explicit types in the Kry sources, which reads
better anyway and keeps every platform's generated code identical.
2026-08-31 15:50:41 -03:00
waozi 8aac9b7f53 Keep sqlite stubbed on Plan 9 and build the new storage sources
8c panics the kernel compiling the sqlite amalgamation even with
gigabytes of guest memory, so the stub stays and habit data is not
persisted on Plan 9 yet. The hand-written storage sources that moved
out of the Kry files (habits, materialization, sync, JSON builder) join
the build; the VFS and amalgamation rewrite stay in the tree for when
the compiler can handle them.
2026-08-31 13:56:44 -03:00
waozi 3cae1b8a57 Replace short compound literals for 8c
The native compiler rejects compound literals that initialize fewer
fields than the struct carries, so use zeroed locals for the empty
texture and rectangle arguments. Hosted behavior is unchanged.
2026-08-31 13:08:43 -03:00
waozi e36c1f0654 Flatten the sync progress bar initializer for 8c
Same nested designated compound literal problem as the donation modal;
build the props through a zeroed local struct.
2026-08-31 12:56:24 -03:00
waozi a0ca798cc9 Flatten the donation modal scroll area initializer for 8c
The native Plan 9 compiler cannot parse the nested designated compound
literal; assign the fields through a zeroed struct instead. Hosted
behavior is unchanged.
2026-08-31 12:44:50 -03:00
waozi 6911eb3f3e Exit cleanly from the mkfile host-preparation check
A plan9 rc if whose condition is false and that has no else branch
returns failure, so the check rule failed exactly when the preparation
was present. Finish with an explicit exit 0.
2026-08-31 12:18:56 -03:00
waozi d05f187772 Add a native Plan 9 mkfile and finish the port
- Build with a proper mkfile (mk install copies to /$objtype/bin) that
  compiles the host-prepared generated sources together with the real
  sqlite amalgamation and the Plan 9 VFS instead of the old sqlite test
  stub, and links the generated embedded-asset table instead of the
  empty placeholder, so the binary no longer reads assets, locales, and
  subset fonts from the source tree
- Drop the superseded plan9-build.rc, the empty asset stub, and the
  sqlite stub
- Resolve the data root from Plan 9's $home when HOME is unset, so the
  database and user files land in the user's home instead of the source
  directory
- Leave OGG sounds out of the Plan 9 embedded assets; the libdraw audio
  backend decodes WAV only and meditation music is stubbed
2026-08-31 11:57:17 -03:00
waozi 55abf4518f Move Inbe Waozi return link 2026-08-31 11:57:05 -03:00
waozi 4f53c58e1f Bump Kryon warning cleanup 2026-08-31 11:42:02 -03:00
waozi 55ac631cb8 Clean up app build warnings 2026-08-31 11:16:29 -03:00
waozi e142907078 Clean up settings import and nav startup 2026-08-31 10:49:18 -03:00
waozi 349e2e11d7 Update Inbe social preview assets 2026-08-31 10:48:43 -03:00
waozi a3e505228b Collapse input frame guard 2026-08-31 10:18:31 -03:00
waozi 0062f8daa9 Bump Kryon overlay capture tests 2026-08-31 10:06:28 -03:00
waozi 02c9086fc2 Use Kryon dismissible overlay for Stack 2026-08-31 10:00:42 -03:00
waozi 89c5b6775a Consume Stack sidebar close clicks 2026-08-31 09:53:19 -03:00
waozi 3e93770831 Bump Kryon Android DPI default 2026-08-31 09:49:20 -03:00
waozi c02bda07c7 Use Kryon Android viewport defaults 2026-08-31 09:44:30 -03:00
waozi f6ef1ea93d Reduce Inbe package sizes 2026-08-30 19:46:13 -03:00
waozi 6267a226be Remove itch.io README badge [skip ci] 2026-08-30 13:54:43 -03:00
waozi b48d9db866 Fix Android Kryon codegen host build 2026-08-30 13:37:19 -03:00
waozi 18e6cbb8a7 Release 1.9.17 2026-08-30 13:19:27 -03:00
waozi f935f547cb Smooth web habit toggles 2026-08-30 12:17:04 -03:00
waozi 09f97b5275 Update Kryon submodule 2026-08-30 10:34:49 -03:00
waozi 8795455af8 Remove bottom nav titlebar stub 2026-08-30 03:15:05 -03:00
waozi 64baee6962 Stub title bar in bottom nav test 2026-08-30 03:14:29 -03:00
waozi abe7d91db7 Fix bottom nav scaffold test link 2026-08-30 03:14:02 -03:00
waozi eb4bbb3987 Use Kryon screen scaffold helpers 2026-08-30 03:06:40 -03:00
waozi 59de2b7eea Limit Google services to Play Android build 2026-08-30 02:51:07 -03:00
waozi 13b7a95663 Make F-Droid Android release the default build 2026-08-30 02:39:58 -03:00
waozi b23e4fe58e Improve donation modal 2026-08-29 22:33:30 -03:00
waozi 665174edaa Release 1.9.16 2026-08-29 21:59:29 -03:00
waozi adea75fae4 Site: stop syncing the inbe icon from kryon (removed there); use the committed web-assets copy 2026-08-29 21:55:24 -03:00
waozi 654ef7d4f3 Site: lotus at dawn theme — dawn palette, rose accents, garamond + mono type
Same structure and behavior; only the theme changes:
- css/base.css: dawn neutrals (paper gradient, warm ink), fonts, teal links
- themes/inbe.css: rose accent family (#b46a5a) with warm per-platform hovers
- index.html: theme-color matches the dawn paper
2026-08-29 21:31:53 -03:00
waozi e1cb8dd110 Release 1.9.15 2026-08-29 14:48:09 -03:00
waozi e42b820db4 Release 1.9.14 2026-08-29 14:32:24 -03:00
waozi d5007ed418 Stabilize Firefox web smoke import check 2026-08-29 12:58:30 -03:00
waozi d6cc224c5a Update Kryon to v0.1.25 2026-08-29 12:48:02 -03:00
waozi 7cd4b40f3b Stabilize web release smoke test 2026-08-29 12:45:08 -03:00
waozi 941b1eaf36 Fix web release smoke test 2026-08-29 12:29:53 -03:00
waozi fb7d4be430 Use Kryon Android window insets 2026-08-29 12:28:56 -03:00
waozi c11dcf401a Release 1.9.13 2026-08-29 12:16:00 -03:00
waozi 7b01acf79b Use Kryon instance handling for desktop startup 2026-08-29 12:04:40 -03:00
waozi 748cea4772 Fix Android landscape insets 2026-08-29 11:59:43 -03:00
waozi 19ad6ab1a6 Add secure sync migration flow 2026-08-29 11:38:13 -03:00
waozi f98cc4a5a1 Release 1.9.12 2026-08-28 20:20:15 -03:00
waozi 624a7a83e1 Refactor habit storage and guide persistence 2026-08-28 17:51:53 -03:00
waozi cc03f1712a Release Inbe 1.9.11 2026-08-27 23:34:17 -03:00
waozi 8c8b74d9a2 Update Kryon app framework 2026-08-27 19:46:24 -03:00
waozi 0bc03b608d Update Kryon termi frame handling 2026-08-26 05:17:46 -03:00
waozi 74eaa050e0 Add termi screenshot regression test 2026-08-26 04:52:15 -03:00
waozi 2a549c25c8 Update Kryon termi thick lines 2026-08-26 04:39:59 -03:00
waozi cf9aada500 Advance WHM session by elapsed time 2026-08-26 04:27:59 -03:00
waozi 991d350721 Update Kryon termi sixel fallback 2026-08-26 04:22:32 -03:00
waozi 6708809da2 Update Kryon termi defaults 2026-08-26 03:48:29 -03:00
waozi cc615fbfd2 Update Kryon termi frame reset 2026-08-26 03:38:52 -03:00
waozi 31ccb43a81 Update Kryon termi viewport handling 2026-08-26 03:32:19 -03:00
waozi fafa84dc5d Update Kryon termi animation rendering 2026-08-26 03:21:30 -03:00
waozi 5893a652e3 Update Kryon termi frame pacing 2026-08-26 03:09:25 -03:00
waozi a2c901d178 Update Kryon termi shape rendering 2026-08-26 02:59:50 -03:00
waozi 2d89023775 Use shared circle click handling for WHM 2026-08-26 02:54:40 -03:00
waozi 52174dea04 Update Kryon termi click handling 2026-08-26 00:21:57 -03:00
waozi 5f91f75485 Update Kryon termi runtime speedups 2026-08-25 23:59:54 -03:00
waozi 007a77a171 Update Kryon termi button states 2026-08-25 23:42:35 -03:00
waozi ccafb682d9 Update Kryon termi sixel cache 2026-08-25 23:38:38 -03:00
waozi 465234ae66 Avoid relinking Inbe on termi launch 2026-08-25 23:35:52 -03:00
waozi 07f66a0155 Update Kryon termi click handling 2026-08-25 23:29:01 -03:00
waozi d27fd2d4ff Make Inbe terminal launch quiet 2026-08-25 23:23:48 -03:00
waozi 62af672f6a Add Inbe termi run target 2026-08-25 23:04:55 -03:00
waozi 9d42b70e46 Remove remaining Inbe TUI wiring 2026-08-25 22:43:47 -03:00
waozi 6eb502d09d Revert "Add Inbe TUI run target"
This reverts commit 4cad4f8599.
2026-08-25 22:42:52 -03:00
waozi 8136ea7c43 Revert "Bump Kryon TUI backend fix"
This reverts commit 674e2c39ff.
2026-08-25 22:42:52 -03:00
waozi 2f63bd0f2d Revert "Bump Kryon TUI scaling fix"
This reverts commit f3bda4ab45.
2026-08-25 22:42:52 -03:00
waozi f3bda4ab45 Bump Kryon TUI scaling fix 2026-08-25 22:38:57 -03:00
waozi 674e2c39ff Bump Kryon TUI backend fix 2026-08-25 22:34:43 -03:00
waozi 4cad4f8599 Add Inbe TUI run target 2026-08-25 22:30:47 -03:00
waozi 20ecd2954e Run Inbe with Kryon TUI backend 2026-08-25 22:28:12 -03:00
waozi 92e651fa24 Prepare X release posts from saved profile 2026-08-25 19:38:55 -03:00
waozi 0115ae1017 Add Inner Breeze social posting helper 2026-08-25 19:03:23 -03:00
waozi 687f5af9c0 Deploy Netlify site to production directly 2026-08-25 18:57:11 -03:00
waozi cf87438af5 Fix Netlify release deploy ordering 2026-08-25 18:53:51 -03:00
waozi c7235be76e Fix 1.9.10 release packaging 2026-08-25 18:27:39 -03:00
waozi d34b690fbc Fix 1.9.10 release tests 2026-08-25 18:00:28 -03:00
waozi 9a2b1c6827 Release Inbe 1.9.10 2026-08-25 17:52:56 -03:00
waozi eaf9abd4de Add session mood results and statistics 2026-08-25 15:01:20 -03:00
waozi 4e88505ce4 Bump Kryon for bottom nav icon color fix 2026-08-25 09:33:21 -03:00
waozi 83c2920ef3 Drop Plan 9 generated screen root wrappers 2026-08-24 14:27:19 -03:00
waozi 86ae49a9a6 Use ordered Kryon UI include for Plan 9 generated code 2026-08-24 14:22:48 -03:00
waozi 010956fbcb Include Kryon UI prototypes in Plan 9 generated header 2026-08-24 14:19:03 -03:00
waozi 3ba8d3c234 Avoid Plan 9 language route wrapper 2026-08-24 14:10:48 -03:00
waozi 8d39895e1f Defer language onboarding settings save 2026-08-24 13:37:44 -03:00
waozi e97378a77e Bump Kryon submodule 2026-08-23 23:17:45 -03:00
waozi a8618c2903 Adopt Kryon #ui hierarchy syntax 2026-08-23 23:17:20 -03:00
waozi f4ba954b10 Update Kryon canvas test fix 2026-08-23 22:45:54 -03:00
waozi 6909ad936f Update Kryon for canvas guide text 2026-08-23 22:40:57 -03:00
waozi f832eeeb80 Fix showcase banner dimensions 2026-08-23 22:29:53 -03:00
waozi 7f588ae1e2 Update showcase banner 2026-08-23 22:27:53 -03:00
waozi f808c29750 Sync web icons from Kryon 2026-08-23 17:59:58 -03:00
waozi de935ce908 Enable Plan 9 meditation music 2026-08-23 17:57:24 -03:00
waozi 0b3957c9ba Enable native Plan 9 cue audio 2026-08-23 17:28:49 -03:00
waozi 159804cc14 Bump vendor/kryon: fix native Plan 9 libdraw font scaling 2026-08-23 17:08:19 -03:00
waozi 0c985f7da1 Add native Plan 9 build path 2026-08-23 15:54:09 -03:00
waozi 6576b5a72d Bump Kryon: drop the unused Clay dependency 2026-08-23 13:42:55 -03:00
waozi 94c47248cc Fix release runner package checks 2026-08-23 12:05:30 -03:00
waozi fb2a5f2f4f Fix hosted builds with Plan 9 Kryon sources 2026-08-23 09:43:28 -03:00
waozi 09ec8a7938 Build arm64 Linux release assets 2026-08-23 09:30:52 -03:00
waozi bc7d0e099f Bump Kryon native Plan 9 compatibility 2026-08-22 23:45:40 -03:00
waozi c39c6a4df0 Fix CI after Kryon UI API cleanup 2026-08-22 23:09:05 -03:00
waozi 1f80cd26fb Bump Kryon libdraw backend 2026-08-22 23:00:10 -03:00
waozi 9593fbb6fd Wire Inbe native libdraw backend 2026-08-22 22:30:04 -03:00
waozi c7b7e5528a Version site CSS and split Linux package downloads 2026-08-22 22:24:26 -03:00
waozi 6bbc48d32b Use public toast helper for break prompts 2026-08-22 22:24:13 -03:00
waozi 0aeea0b335 Use Kryon widget APIs in Inbe 2026-08-22 20:41:11 -03:00
waozi 7805dae046 Update Chrome privacy disclosures 2026-08-22 17:29:56 -03:00
waozi 7c9229c146 Release Inbe 1.9.9 2026-08-22 01:58:40 -03:00
waozi b5cb8df4c5 Regenerate app icons from tracked source 2026-08-22 01:04:26 -03:00
waozi b63cb38ff3 Add Kryon showcase metadata 2026-08-22 01:02:04 -03:00
waozi 8bb5135cd7 Retry FreeBSD package dependency installs 2026-08-21 21:20:47 -03:00
waozi 8931999778 Fix Android OpenURI link references 2026-08-21 21:08:23 -03:00
waozi 17713b6a49 Fix 1.9.8 CI release build 2026-08-21 20:57:58 -03:00
waozi 76b69263fd Fix donation wallet URI handling 2026-08-21 19:58:07 -03:00
waozi 6a7be61ec0 Update Kryon read-only text behavior 2026-08-21 17:11:07 -03:00
waozi bd2ae932bd Fix web smoke onboarding persistence 2026-08-21 17:03:41 -03:00
waozi b9e74d6c9d Add donation modal 2026-08-21 16:56:48 -03:00
waozi e401f237de Release 1.9.9 2026-08-21 16:41:33 -03:00
waozi ff69fa71b3 Make image asset test portable 2026-08-21 16:24:17 -03:00
waozi 75b41115af Fix embedded practice banner assets 2026-08-21 16:20:08 -03:00
waozi f7efa49a6b Update practice imagery and Kryon integration 2026-08-21 16:03:39 -03:00
waozi ccdeb5ae61 Release 1.9.8 2026-08-21 13:26:00 -03:00
waozi 69f91ae928 Fix web startup readiness 2026-08-19 23:10:48 -03:00
waozi 2f66434a44 Merge remote master and release Inbe 1.9.7 2026-08-19 22:58:30 -03:00
waozi a6910f76b7 Release Inbe 1.9.6 2026-08-19 22:48:20 -03:00
waozi 33ddd5aea5 Fix practice banner spacing and order 2026-08-19 22:36:03 -03:00
waozi 90e3ba03a7 Clean up music settings and leaderboard sorting 2026-08-19 22:29:39 -03:00
waozi 88b89b3b90 Remove Aero style and fix styled banners 2026-08-19 22:16:20 -03:00
waozi 4161a481b7 Fix leaderboard refresh and styled banners 2026-08-19 21:43:42 -03:00
waozi 5dcf41016c Keep break timer windows on all workspaces 2026-08-19 20:44:42 -03:00
waozi 0f54ce97ba Release Inner Breeze 1.9.6 2026-08-19 20:36:33 -03:00
waozi 9bb4af9545 Update guide overlay test stubs 2026-08-19 20:21:11 -03:00
waozi fb9decdd85 Fix non-desktop Breaks guards 2026-08-19 20:17:14 -03:00
waozi 031dcc29aa Make donation reminder practice-based 2026-08-19 20:12:28 -03:00
waozi 13aacab312 Limit release appcast submodule checkout 2026-08-19 19:42:15 -03:00
waozi 9458c1e4b2 Use Canvas fallback when WebGL is unavailable 2026-08-19 19:25:44 -03:00
waozi 72736b010f Fetch submodules for release appcast 2026-08-19 19:15:05 -03:00
waozi 8aa253d4d6 Disable stale GitHub apt mirrorlist 2026-08-19 18:59:42 -03:00
waozi 97f303be23 Pin CI apt installs to Ubuntu archive 2026-08-19 18:37:24 -03:00
waozi 0928bd1012 Harden release workflow installs 2026-08-19 18:10:29 -03:00
waozi d9d2485e83 Delay support prompt and bump Canvas fixes 2026-08-19 17:47:13 -03:00
waozi a763b582d7 Fix release appcast publishing 2026-08-19 17:40:07 -03:00
waozi 0c2156154f Use Kryon helpers and enable Canvas sync parity 2026-08-19 17:27:42 -03:00
waozi 1a124cb444 Add web renderer comparison gate 2026-08-19 17:14:43 -03:00
waozi 2fd164865d Fix Android release build 2026-08-19 17:01:48 -03:00
waozi 74a5cda45d Fix non-desktop SDL guards 2026-08-19 16:44:56 -03:00
waozi b51e7403c3 Speed up CI workflow checkouts 2026-08-19 16:22:01 -03:00
waozi 97cc83ab2f Speed up release workflow checkouts 2026-08-19 16:15:46 -03:00
waozi 4c95be8e09 Add monthly donation reminder 2026-08-19 15:56:01 -03:00
waozi 4ecc53c052 HUD drag follows the pointer exactly; assert it in the e2e suite
Vendor kryon diffs the global pointer position during borderless-
window drags instead of accumulating motion events (pointer batching
ate the last step), baselines the drag at the true press position
(the first step was lost between press and the first pump frame), and
captures the mouse for the drag duration. The desktop window-mode
suite now asserts the HUD lands within 2px of the exact drag path.
2026-08-19 15:31:55 -03:00
waozi e3de8ec99d CI: gate on public-HTTPS submodule URLs
A guard job with a plain checkout fails the run when any .gitmodules
URL is not https:// — SSH URLs work only with a developer key and
break fresh clones and CI instead. The test job needs the guard.
2026-08-19 15:28:53 -03:00
waozi 5f08aa12b1 Close the window for real; drag the break HUD; e2e window-mode tests
The title-bar close button did nothing: SDL2 delivers the close
request as SDL_WINDOWEVENT_CLOSE and raylib's SDL backend only
latches SDL_QUIT. The main loop now consumes the close request
kryon's window pump records (StealUICoreWindowClose) and runs the
normal close flow, so every mode works again: ask prompts, keep-
running hides to the tray, quit exits.

raylib also asks SDL for mouse capture at window creation; the
resulting active pointer grab on the main window swallowed every
click and drag aimed at the break HUD. The grab is released right
after InitWindow.

Adds scripts/test-desktop-windows.sh (make test-desktop-windows):
end-to-end coverage on a private Xvfb display for the window-close
matrix (startup, keep-running, ask+quit, ask+keep-running) and
break-HUD dragging.

Vendor kryon brings the close bridge, SDL-path drag support and the
StealUICoreWindowClose API.
2026-08-19 15:18:53 -03:00
waozi f2f8107352 Drop leftover startup-diagnostic logging from app_update_draw 2026-08-19 14:29:06 -03:00
waozi 668ccaf628 Start hidden only with a live tray; throttle the break HUD
The 'Start minimized' desktop startup mode hid the window even when
the tray failed to initialize - the fallback minimized a window with
nothing to restore it from, leaving the app running completely
unreachable: no window, no taskbar entry, nothing to click or close.
Hidden startup is now honored only when the tray is actually ready,
and both hidden startup and tray hides say so in the log.

The break HUD now presents at ~2 Hz instead of every frame: each
present swaps GL contexts and stalls the main context with a
glFinish, which kept a core busy and widened the multi-window race
window for content that changes once per second.

Vendor kryon ignores systray XEMBED-handshake activations, which
could toggle the window hidden right after launch, and resolves
gtk_status_icon_is_embedded through the lazy GTK table.
2026-08-19 14:28:46 -03:00
waozi aa1dc4e451 Add Windows installer and winget publishing (1.9.5)
make windows-setup builds an NSIS installer (both portable exes,
shortcuts, ARP entries, silent /S installs) beside the zip; verified
by running a silent install under wine. The release workflow builds
and ships it, and a gated publish-winget job keeps the winget manifest
current on each release (needs the WINGET_TOKEN secret; the one-time
new-package submission uses the template in packaging/winget).
2026-08-19 14:22:08 -03:00
waozi 169835e3af Bump kryon: Go bindings, arch-aware AppImage appcast key
The appcast appimage channel is now appimage-<dpkg arch> so multi-arch
publishers list one channel per arch and each machine resolves its own.
Also brings the kry_update_flow kryui bindings (not yet used by inbe).
2026-08-19 14:15:50 -03:00
waozi c6ce731acb Fix Windows build: guard setenv in screenshot mode
KRYON_SHOT_ARM armed via POSIX setenv in a path that compiles on
Windows; every other env write in main.c already branches to _putenv.
Older mingw gcc let it slide as a warning, gcc 14+ makes the implicit
declaration an error. Found by cross-compiling with gcc 15; the exe
then builds and runs under wine.
2026-08-19 14:13:40 -03:00
waozi ae419fb8ae Ride the shared kry_update_flow for the desktop updater
app_update_check.c keeps only inbe's persistence (daily check stamp in
settings), locale strings, the toast, and the miniz zip extractor
handed to the flow as a callback; check/channel/download/verify/apply
now come from kryon's kry_update_flow so every kryon app embeds the
same lifecycle. The release workflow generates appcast.json through
kryon's scripts/make_appcast.py instead of inline python. Verified end
to end against a local appcast server: available -> staged+verified.
2026-08-19 14:03:28 -03:00
waozi 9dcacc26c7 Add in-app self-update for AppImage and Windows portable (1.9.5)
Settings -> About now walks the whole update for self-service channels:
Download (checksum-verified, progress in the row), then one click on
Restart to update. On AppImage the verified file is staged next to the
running image and atomically swapped in before re-exec; on Windows the
zip is extracted beside the install and a detached swap script waits
for exit, swaps directories, and relaunches. Packaged, Snap, Flatpak
and source installs keep the link-only row. The AppImage build also
embeds AppImageUpdate (zsync) delta information now.

Vendor kryon brings kry_http_download, kry_sha256 and the kry_update
download/verify/apply primitives. The tray main loop now honors
app->request_quit so a confirmed update restart exits without the
keep-running prompt. INBE_UPDATE_AUTO_DOWNLOAD drives the flow for
tests (verified end to end against a local appcast server).
2026-08-19 13:49:33 -03:00
waozi 7077d5aaa4 Add desktop update notifications (1.9.5)
The app checks the release appcast once a day on desktop and surfaces a
new version with a toast plus a download link in Settings -> About.
AppImage and Windows users get the direct artifact URL; deb/rpm, Snap
and Flatpak installs are left to the system updater. The release
workflow now publishes appcast.json (version, notes, per-channel URL,
SHA-256, size) alongside the release artifacts, and the vendor kryon
pointer brings in the new kry_update module. INBE_UPDATE_APPCAST_OVERRIDE
overrides the URL for testing.
2026-08-19 13:26:23 -03:00
waozi 81de6ff998 Ship a true 512px desktop icon
The packaging icon was a 256px image, but the desktop install suite (make install / install-user, deb, AppImage) stages it into icons/hicolor/512x512. Replace it with the canonical 512px artwork so installed menu icons match their hicolor size slot.
2026-08-19 12:20:10 -03:00
waozi 2996fcadef Follow the system theme by default on every platform
Fresh installs now default the theme source to System on desktop, Android and web instead of the Sky app palette. The web theme settings no longer hide the System option, so the default is not clamped back to the app palette when the appearance screen opens. Includes the kryon bump that makes GetDefaultPlatformThemeSource() return SYSTEM everywhere.
2026-08-19 12:14:25 -03:00
waozi 1e0c81dbf7 web: exclude canvas backend sources from the raylib web build
The web build's src sweep picked up kryon's canvas backend, which
defines the same public surface as the generated raylib wrappers and
broke the wasm link with duplicate symbols. KRYON_WEB_SRCS now filters
canvas_*.c, mirroring how web-canvas drops the wrappers instead.

Bump vendor/kryon: the canvas backend is now split into per-concern
sources (window/input/draw/texture/text/os/audio) with deduplicated JS
glue and a zero-initialized LoadFont failure return; kryon's node
call-sequence gate records an identical trace before and after.
2026-08-19 09:48:11 -03:00
waozi d26cdd72a6 Add web-canvas target: the web build on kryon's Canvas2D backend
Vendor kryon forward to master, which now carries the canvas Tier A
backend (HTML5 Canvas2D through EM_JS: no libraylib.web.a, no GLFW, no
WebGL). make web-canvas compiles the same generated app sources with
kryon's src tree + canvas_backend.c under emcc (-sASYNCIFY so the
while-loop frame pacing survives, -fexceptions for the set_main_loop
unwind) and preloads locales and assets.

Sync-account crypto and audio are not carried in this target:
scripts/ksync-canvas-shim.c reports sync unavailable (the app runs
local-only) and kryon's canvas audio is null-grade. The host page
(web-assets/canvas_index.html) drives requestAnimationFrame from timers
because embedded webviews suspend RAF while timers keep running.

Verified in a real browser: full boot, storage, fonts, icons, theming,
tinting, and input all render on the canvas backend.
2026-08-18 20:57:09 -03:00
waozi f5bde88490 Localize the theme section and follow the system locale
The theme settings UI shipped English in every language: the locale
files carried none of kryon's theme_* keys, and the picker's label
fallbacks bypassed the locale catalog entirely (kryon b969d0f fixes
that side). Add the full theme-section key set to all 13 locale files
and default the language to the system locale (kryon's new
GetDefaultLocaleCode) instead of hardcoded English; a saved language
choice still wins. Verified by rendering the theme screen under de and
pt_BR system locales - Modus/Hell/Dunkel/Farbschema/Stil and
Tema/Modo/Claro/Escuro/Esquema de cores/Estilo all come through.
2026-08-18 18:57:50 -03:00
waozi 204f4dc0d3 Vendor kryon with the dropdown click-vs-drag fix
Bump vendored kryon to master (79d4fed): wobbled and slow clicks now
select from dropdown popups instead of being swallowed as drags - the
press-Dark-and-nothing-happens case. Verified end to end against the
running app with synthetic X clicks and the persisted settings.
2026-08-18 18:42:27 -03:00
waozi 6d064565c4 Vendor kryon without the dedicated Aero palette
Bump vendored kryon to master (eb9967c): the Aero style is
palette-agnostic and defaults to Sky; the 13th palette entry is gone.
A previously saved palette id beyond the new count falls back through
the normal out-of-range clamp.
2026-08-18 18:14:35 -03:00
waozi 9217d9e98f Vendor kryon with dropdown Escape/focus dismissal
Bump vendored kryon to master (0adf507): open dropdown popups now also
close on Escape and on window focus loss, on top of the popup flip
fix.
2026-08-18 18:04:57 -03:00
waozi cac6a7d540 Vendor kryon with the tall-dropdown popup fix
Bump vendored kryon to master (54a71e6): dropdown popups that do not
fit below the control now flip above it instead of running off-screen,
so the tail options of long lists (the palette picker) are reachable
and clickable again.
2026-08-18 17:54:10 -03:00
waozi 79e9bd73a1 Vendor kryon with self-arming screenshot capture
Bump vendored kryon to master (112ebe3). Screenshot mode now arms
kryon's pre-swap capture itself (no wrapper-script env needed) and
writes the PNG through kryon's own writer, which works on this GL
stack where raylib's ExportImage silently drops the image.

Aero renders verified across home, practice config, WHM session,
calendar, habits stats, my practices, settings and theme selection,
light and dark, at 1080x1920.
2026-08-18 17:12:26 -03:00
waozi 2bdcb8911d Vendor kryon with the Aero widget style
Bump the vendored kryon to master (cba5140) which adds the Aero
(Vista/7 glass) widget style and the Aero palette, and widen the theme
style clamps so the style and palette are selectable in theme settings.
Existing Retro/Material/Mono picks are unaffected.
2026-08-18 16:15:28 -03:00
waozi fed87680e0 Harden CI and Release workflows against apt stalls
Add timeout-minutes to every job and apt retry/timeout options
(Acquire::Retries, Acquire::http/https::Timeout) to all apt-get
update/install calls, so a stalled package download fails fast
instead of hanging until the 6-hour job limit cancels the run.
2026-08-18 15:57:02 -03:00
waozi 70a805be76 Release 1.9.4 with corrected secondary windows 2026-08-17 22:10:42 -03:00
waozi b72c87380e Update Kryon secondary window texture sync 2026-08-17 21:42:46 -03:00
waozi af3d46ed32 Update Kryon Linux multi-window renderer 2026-08-17 21:39:41 -03:00
waozi fd74ec0bc9 Update Kryon tray path overflow fix 2026-08-17 20:23:25 -03:00
waozi 46bad17ccc Fix web build platform flags 2026-08-17 20:14:42 -03:00
waozi e2ed1b9f9f Update Kryon direct GNOME icon path 2026-08-17 20:10:27 -03:00
waozi 8baa7e81f0 release: add Android custom music support 2026-08-17 19:54:15 -03:00
waozi 722d8538b2 Update Kryon GNOME tray icon fix 2026-08-17 19:49:52 -03:00
waozi e11823cadc Finish WHM declaration modernization 2026-08-17 19:47:17 -03:00
waozi 0d1e6caeb4 Modernize WHM Kry declarations 2026-08-17 19:44:34 -03:00
waozi 2f66466ff8 Update Kryon code generator fix 2026-08-17 19:42:58 -03:00
waozi ed1564da24 Show break window separately on Wayland 2026-08-17 19:30:16 -03:00
waozi 7543d78fd8 Improve Wayland tray and break support 2026-08-17 19:11:24 -03:00
waozi 7ae492e1e5 site: use Kryon monospace stack 2026-08-17 13:51:25 -03:00
waozi d5c08cd510 fix: keep native social result out of web build 2026-08-17 13:21:58 -03:00
waozi e6fc671ac7 release: prepare 1.9.2 2026-08-17 13:11:03 -03:00
waozi d18c4908e2 art: restore original WHM banner 2026-08-17 12:58:15 -03:00
waozi c65267b190 art: create new WHM ice-bath scene 2026-08-17 12:56:29 -03:00
waozi 0ad05dcab4 art: restore original WHM banner character style 2026-08-17 12:51:15 -03:00
waozi 4827f96230 art: refine practice banner characters 2026-08-17 12:47:11 -03:00
waozi 9ad2905f31 art: refresh Wim Hof practice banner 2026-08-17 12:42:51 -03:00
waozi 13e47af93f feat: simplify meditation and pattern sessions 2026-08-17 12:38:23 -03:00
waozi f872ee84ac feat: refine profile and breathing experience 2026-08-17 12:29:35 -03:00
waozi 6f5ffdb193 windows: retain 32-bit OpenGL import 2026-08-17 10:25:06 -03:00
waozi 2120dfb3f1 Merge branch 'master' into archive 2026-08-17 08:59:46 -03:00
waozi b5f3bb9efb ci: fix OpenStore arm64 apt sources 2026-08-17 08:59:09 -03:00
waozi bc004c25fd archive: incorporate clean master history 2026-08-17 08:57:53 -03:00
waozi 6243a7b769 docs: make 1.9.1 notes user-facing 2026-08-17 08:55:16 -03:00
waozi 32dff85145 release: repair 1.9.1 builds 2026-08-17 08:54:18 -03:00
waozi 25d73f2f9c main: statistics, profile, habit_edit screenshot scenes
The three newly cartridge-ported screens join the screenshot scene
set (habits statistics tab, profile screen, habit editor) so the
krb native-exactness harness can capture their reference frames.
2026-08-17 08:30:39 -03:00
waozi 3c0df6f264 ci: exactness via the armed pre-swap capture; kryon ffd53ee 2026-08-17 05:58:55 -03:00
waozi 2c3cc5ab1b ci: compositor capture at exact screen size (480x640); kryon 15d2369 2026-08-17 05:02:44 -03:00
waozi aa668cab48 ci: softpipe with the internal front-buffer export (compositor path OOMs/kills) 2026-08-17 04:21:32 -03:00
waozi 6746f71ed9 ci: softpipe for the exactness GL stack (llvmpipe+xcompmgr crashed Xvfb) 2026-08-17 04:04:27 -03:00
waozi 48dd70f571 ci: composite the Xvfb root with xcompmgr and capture via KRB_EXACT_XWD
raylib's ES2 context has no glReadBuffer/GL_FRONT, so the internal
export cannot work on software GL; an ARGB window also never reaches
the root framebuffer without a compositor. xcompmgr composites it and
the harness's xwd path captures the result.
2026-08-17 03:46:44 -03:00
waozi 74d0136f98 ci: exactness uses the internal front-buffer export; kryon kill hardening 2026-08-17 03:25:28 -03:00
waozi 1cf44f0965 vendor/kryon: bump to af7c1d2 (front-buffer LoadImageFromScreen) 2026-08-17 02:26:26 -03:00
waozi 7474f360bf ci: exactness gate captures via Xvfb root composite; kryon e7a8795 2026-08-17 01:58:03 -03:00
waozi 06f18ccc28 ci: upload the exactness comparison frames as artifacts 2026-08-17 01:40:13 -03:00
waozi 58d9fb40da ci: pass the runner workspace, not a dev path, to the exactness harness 2026-08-17 01:23:26 -03:00
waozi 21ea7794b3 ci: native exactness job installs the native build deps (sdl2/gles/gtk) 2026-08-17 01:07:56 -03:00
waozi 112ac01599 Android: Health Connect export, breathe widget, quick-settings tile, launcher shortcuts
- Data & export gains a Health Connect button on Android: sessions push
  as mindfulness records (meditation / breathing) and sun salutation as
  a yoga exercise session; incremental marker, permission flow and
  toasts live in a small Kotlin helper (connect-client 1.1.0)
- "Breathe" home-screen widget and quick-settings tile start the
  last-used practice instantly; long-press shortcuts pin each practice
- ACTION_START_PRACTICE handled from cold launch (pending retry on
  first focus) and warm launch; replaces an active break like the
  desktop break-window chips do
- storage_export_health_connect_csv writes start,end,activity rows;
  android_health.kry bridges settings -> Java via the JNI session helper
- AGP 8.9.1 / Gradle 8.11.1 (compileSdk 36 + connect-client requirement);
  vendor/kryon bumped for the multi-line array-initializer k2c fix
  (kryon 581f9aa)
2026-08-17 00:43:51 -03:00
waozi 6a3e5dff26 ci: pass repo root to the native exactness harness; kryon f903111 2026-08-17 00:00:57 -03:00
waozi 38d583f349 ci: krb native-exactness gate + vendor/kryon bump to 47820cc
Bump the vendored kryon to master 47820cc (KRB v2: logic VM with
else/arithmetic/TIME expressions and animated geometry, embedded
PNG/KRAW assets + KFA1 glyph atlas, scroll, text input, dropdowns,
nav buttons, the kry_sw/SDL/web renderers, and the exactness
harnesses). New CI job runs the language screen both ways — the C
build's --screenshot scene export under xvfb and the cartridge
render — and pixel-compares with zero tolerance.
2026-08-16 23:54:44 -03:00
waozi 3b3dc6f4ff Run a practice instead of taking a break
- Break window shows a chip per visible practice below the panel
  (shared geometry for draw + both click paths)
- Starting one takes the break (timers reset) and freeze break
  scheduling for the whole session, so the effective restart lands
  after the practice ends regardless of its length
- No break window or prompt appears over a running practice
2026-08-16 23:13:18 -03:00
waozi fa2df6ad63 Add breathing patterns practice (box, 4-7-8, coherent, extended exhale, custom)
- New timed-ratio breathing practice with animated circle, phase cues,
  pause/resume and duration cap; sessions saved under EXERCISE_PATTERNS
  with habit linking, CSV export and sync support
- Config screen: preset picker, per-phase custom steppers, duration row
- Tray quick-start entry, session-complete notification label
- Practice home metadata shows the active ratio and duration
- New locale keys in all 12 languages
2026-08-16 22:53:07 -03:00
waozi 73ec438e06 main: 'language' screenshot scene + INBE_SHOT_WINDOW hold hook 2026-08-16 22:47:51 -03:00
waozi eff4fee861 habits: weekly schedules, per-habit reminders, 32-habit cap
- habits carry a weekday cadence (bit0=Mon..bit6=Sun, 0=every day):
  off-schedule days render muted in the overview, don't count toward
  today's done total, and neither extend nor break streaks
- per-habit reminder hour (Off..23:00) fires a local notification when
  the hour arrives and the habit isn't completed yet
- INBE_HABIT_MAX 10 -> 32 (tray quick-mark stays at 10 entries)
- schema: habits.weekdays / habits.reminder_hour columns with
  migrations; fields ride the sync payloads with COALESCE fallbacks
2026-08-16 22:19:00 -03:00
waozi c988e6f363 data: export sessions as CSV (date, practice, rounds, hold/meditation seconds) 2026-08-16 22:02:49 -03:00
waozi 0a6baa6331 remove the pet/gamification placeholder screen (unreachable stub) 2026-08-16 21:59:16 -03:00
waozi 52ccb89622 practice home: per-practice visibility checkboxes (wires up the dormant practice_visible_mask) 2026-08-16 21:56:24 -03:00
waozi f31b5f83dc sun salutation: graduate from WIP - drop the work-in-progress label, enable the man/woman figure selector 2026-08-16 21:50:33 -03:00
waozi a742c6b915 meditation: optional interval bell every N minutes (off/1/2/5/10/15/30) 2026-08-16 21:45:02 -03:00
waozi c615175754 droid: exclude the whole kryon src/backend software renderer, not just surface_math 2026-08-16 21:02:00 -03:00
waozi 8281a3b7da droid: exclude kry_surface_math.c - duplicate raylib symbols on Android 2026-08-16 20:43:21 -03:00
waozi b80ebd10b9 main: _putenv on Windows for the SDL screensaver env var (mingw has no setenv) 2026-08-16 20:24:32 -03:00
waozi ed426cbef2 vendor/kryon: kir typed-decl fix + tray cast fix; link ksync_crypto in sync tests 2026-08-16 20:06:29 -03:00
waozi 865bb80769 vendor/kryon: tray cast-macro fix (unresolved get_type on GTK-unlinked builds) 2026-08-16 19:58:36 -03:00
waozi cb24f8d319 breaks: fall back to opening Break settings directly when the tray is not built (click) 2026-08-16 19:41:32 -03:00
waozi a31bb71b39 ci: pass absolute cross-tool paths to the click build 2026-08-16 19:29:23 -03:00
waozi c4723fe829 ci: fix OpenStore arm64 apt sources (ports.ubuntu.com for the added architecture) 2026-08-16 19:16:36 -03:00
waozi 28172681a1 release: 1.9.1 2026-08-16 19:10:40 -03:00
waozi 343025097c breaks: own centered break window, draggable HUD, desktop startup/close settings, single instance
- breaks render in a separate centered always-on-top OS window; the main
  window (possibly hidden to tray) is no longer taken over, and the
  overlay's Postpone/Skip/Rest-now buttons + right-click settings work
  through click-position hit-testing
- micro breaks open immediately when due (toast-prompt phase removed);
  rest/daily keep prompts
- HUD: drag anywhere to move (position persists), right-click opens
  Break settings, disabled timers are hidden, and it stays visible during
  a break with the remaining rest countdown
- Device settings (desktop): startup mode and on-close behavior dropdowns
- single-instance handover via PID lock; a new launch replaces the old
  one gracefully (screenshot mode exempt)
- break exercises removed for now (settings rows, tray entry, overlay);
  practices-during-break is the planned follow-up
- vendor/kryon bumped to pushed master: ui_window center/drag/right-click
  + per-window XImage buffers + X11 Time layout fix; system_theme reads
  the GTK palette from the theme's gtk.css
- locales: new desktop/tray keys everywhere; unused exercise keys dropped
2026-08-16 19:10:34 -03:00
waozi c4d5cf863e breaks: desktop-only in sidebar on every platform; drop the desktop-only notice
The sidebar settings list is gated on PLATFORM_DESKTOP directly (undefined
ANDROID/DESKTOP identifiers silently compiled the 6-entry branch on web and
Android). The breaks screen no longer shows a 'desktop only' notice on
non-desktop; Android never links the input-block monitor, so those calls are
desktop-gated too.
2026-08-16 08:04:10 -05:00
waozi 1da7fdbc11 android_jni: attach() keeps the session by value; helpers are public
The attach() local is a struct value, not a pointer (the regex that fixed
the pointer-side access flipped it too), and the JNI helpers were marked
#private so cross-module callers never saw their declarations - the
Android release build caught both.
2026-08-15 18:44:53 -05:00
waozi 9ee923e4ae widgetize: kryon PickerDialog/Spinbox/ButtonRow adopted; JNI dispatcher; drift tests
- reminder hour rows use kryon Spinbox (value_text "08:00", wrap mode);
  the push distributor picker is kryon PickerDialog instead of ~90 lines
  of hand-drawn scrim/panel/rows; audio output buttons use ButtonRow with
  GetUIButtonRowHeight (kryon 442c868)
- android_jni.kry: one attach/call/detach dispatcher (wakelock pattern);
  android_push.kry's four hand-rolled JNI blocks rebuilt on it
- tests/settings_keys_test.c: save/load/import key parity guard (scans
  the .kry/.c sources like the locale test); caught nothing outstanding
  after scoping loads in app.c too
- locale test now also fails on translation keys absent from en.txt and
  caught practice_music_title dead in 11 locales (removed)
- language dropdown id 200 -> 260 (collided with the add-reminder
  button); dead device_picker_open field and a duplicate import dropped
2026-08-15 18:20:50 -05:00
waozi 7454aadcbb web: the notification permission gate actually applies now
The #if !WEB guard in app_notifications.kry referenced an undefined
identifier, so the startup permission request still compiled into the
web build and Firefox rejected it outside a user gesture. WEB is now
defined from PLATFORM_WEB in that module.
2026-08-15 17:09:43 -05:00
waozi 3ab0604f3d web: request notification permission from the user gesture only
Browsers only allow Notification.requestPermission() inside a
user-generated event handler; asking at app startup threw in Firefox and
failed the web smoke. The startup ask stays for native platforms; on web
the test-notification button asks first.
2026-08-15 16:49:29 -05:00
waozi d903bd5ade vendor/kryon: Windows/macOS build the ui_window stubs 2026-08-15 16:26:58 -05:00
waozi 7e6d2c0126 Release 1.9.0: settings load cache grows dynamically
The 192-entry fixed settings cache silently dropped keys once the
notification-era setting count passed it, which broke the web
reload-persistence smoke (tutorial_seen fell off the end). The cache now
reallocs on the heap and warns if allocation fails.
2026-08-15 16:09:45 -05:00
waozi 7c4250ab6d Release 1.9.0 2026-08-15 15:42:02 -05:00
waozi 9b5f53acae nav sidebar: scroll container sized to the real content height
The sidebar scroll area reported a fixed 300px content height, so with the
profile row and all settings entries the list overflowed its viewport with
no way to scroll. The height now matches what is actually drawn.
2026-08-15 15:30:08 -05:00
waozi 60cfc0ee01 push picker shows distributor labels and icons; tutorial stops returning
- picker rows render the distributor's app label and launcher icon (Java
  exports 96px PNGs to the cache dir, JNI caches labels + paths, textures
  load on open and unload on close); registering still uses the package
- first-run guide no longer reappears after quitting mid-tour: the guide
  only auto-starts at step 0, advancing persists tutorial_step, and the
  Android back key now closes the guide (kryon vendor bump for that)
2026-08-15 15:12:43 -05:00
waozi 37cd330f76 push setup opens an in-app distributor picker
'Set up push' now queries the installed UnifiedPush distributors via JNI
(getUnifiedPushDistributors) and opens a kryon modal listing them; picking
one registers through configureUnifiedPushWith(pkg) on the UI thread. With
no distributor installed the button keeps the toast + F-Droid hint path.
The old always-register-with-the-only-one and the Android AlertDialog
picker are gone - the app owns the UI now.
2026-08-15 14:24:18 -05:00
waozi 9e640a6948 push setup: run UnifiedPush configuration on the UI thread
configureUnifiedPush is invoked via JNI from the native render thread, which
has no Looper. The toast (and the permission request / distributor dialog)
threw 'Can't toast on a thread that has not called Looper.prepare()' and the
exception aborted the method before UnifiedPush.register() ran — so tapping
'Set up push' did nothing. The body now runs via runOnUiThread.
2026-08-15 13:45:17 -05:00
waozi 3e5393d880 mobile sidebar drops Breaks; push setup shows real state; reminder time centered
- nav sidebar lists no Breaks entry on Android (desktop-only feature) and
  the settings screen falls back to Device if a restored tab was Breaks
- push status now reports actual UnifiedPush registration (endpoint saved),
  refreshed every ~30 frames, not just notification permission; the setup
  button asks for notification permission first and toasts which distributor
  it registers with, so tapping it always gives visible feedback
- reminder time drawn with DrawCenteredUIControlText at the button-row
  center: exact vertical alignment with the -/+ glyphs
2026-08-15 13:13:14 -05:00
waozi 9e33cd673a practice home: exact below-card sizing; guide anchored to the drawn rects
The first-run guide highlighted rects computed by a parallel layout that
ignored the scroll-page path and the stacked manual/config rows, so on
narrow screens (moto) every anchor was offset and the home flipped into
scroll mode even though the content fit.

- practice_home_below_card_height() mirrors the drawn stack exactly
  (carousel + start + 12px gaps + manual/config rows + padding), replacing
  the fixed 176px reserve in practice_home_card_height; content_height
  uses the same helper so the page no longer scrolls when it fits
- start_kry_draw records the card/start/manual/config rects it actually
  renders into the app; the guide anchors to those bounds, so the
  highlight can never drift from the real widgets
- practice_home_layout and its guide-anchor helper are gone (no parallel
  math left to fall out of sync)
2026-08-15 12:45:23 -05:00
waozi 6a78a2b5e6 notifications: editable reminder list, friend-request setting; first-run guide stays on practice home
- reminders are now a list: add/remove entries, practice dropdown, [-] HH:00 [+] stepper
  with the time exactly centered (DrawCenteredUIControlText + MeasureUIText sizing)
- default list is one WHM reminder at 08:00 that can be disabled or deleted
- new friend-request notification setting (on by default): fires when a social
  sync reports new incoming requests (app_notifications_on_friends_synced)
- dropped the session-complete setting; in-practice completion notifications
  are unconditional and independent of reminders
- push section stays Android-only; reminder loading moved to all platforms
  (desktop notifies via GDBus too)
- first-run guide no longer activates on the blank welcome screen, where its
  anchors pointed at widgets that were not on screen (moto misalignment)
- settings_ui.toggle_switch_width is public now; new screenshot scenes
  first_run_guide, first_run_guide_blank, settings_notifications
2026-08-15 12:17:32 -05:00
waozi 2e22958c0e vendor/kryon: bump for ui_window android build fix 2026-08-15 12:17:29 -05:00
waozi 8dde45c17e breaks: HUD as a real OS window via the new kryon UIWindow API
The break timer mini window is now a separate top-right OS window
(borderless, always-on-top, taskbar-free) instead of an overlay inside
the app window, using kryon's new OpenUIWindow/BeginUIWindow/
EndUIWindow/IsUIWindowClicked. Content is the same Micro/Rest/Daily
countdown rows with progress bars; clicking it opens Settings ->
Breaks; it closes while the break overlay itself is up and when breaks
are disabled. Desktop only. vendor/kryon at da646a7.
2026-08-15 10:08:02 -05:00
waozi 802c203673 breaks: off by default; top-right timer HUD when enabled
Fresh installs start with break reminders disabled — the Breaks tab's
master toggle opts in (existing users keep their choice). While breaks
are on, a compact HUD sits top-right over every screen: Micro/Rest/
Daily rows with live countdowns and activity progress bars (orange when
a break is due); a due break's row turns orange. Clicking the HUD opens
the Breaks settings tab. Hidden on the break overlay itself; desktop
only. Screenshot scenes: break_settings now enables breaks so the HUD
is verifiable.
2026-08-15 07:19:28 -05:00
waozi 390805e20b UnifiedPush support: push notifications without Google services
Integrate unifiedpush.org (spec AND_3.1.0) via the official connector
(org.unifiedpush.android:connector). The user installs any distributor
-- Sunup from F-Droid (org.unifiedpush.distributor.sunup), ntfy,
NextPush, ... -- and Inner Breeze receives push:

- PushServiceImpl: the distributor starts it directly, so pushes show a
  notification even when the native app is not running (own
  inbe.push channel). Message protocol v1: first line is the title,
  the rest is the body (cleartext, spec limit ~3993 bytes).
- onNewEndpoint persists the endpoint URL (SharedPreferences, exposed
  via PushServiceImpl.getEndpoint) for the sync server to send to.
- Settings > Device (Android): 'Push notifications' button --
  no distributor installed opens Sunup's F-Droid page; several offer a
  picker; one registers silently.
- android_push.kry: JNI bridge driving MainActivity.configureUnifiedPush
  from the native settings screen.

Verified: full Android build green with the connector dep, desktop/web
builds clean, all tests pass.
2026-08-15 07:18:56 -05:00
waozi 20a5b0f340 vendor/kryon at 301c1e6 2026-08-15 07:14:59 -05:00
waozi 37cf862ea2 breaks: add the Breaks tab to the settings sidebar list
The tab existed (screen, label, dispatch) but the sidebar's settings
section table only enumerated Device/Audio/Theme/About — the only
desktop entry point to the breaks settings was invisible.
2026-08-15 06:59:16 -05:00
waozi b13f01ee05 Notifications: settings, persistence, session-complete (kryon backend)
First app-side use of kryon's new notification helpers:

- New app.notifications module (app_notifications.kry): init sets the
  app name and requests permission; sends are gated on the user
  setting + permission. Session-complete notifications only fire when
  the window is unfocused (no noise while you watch the app).
- Settings > Device: Notifications toggle (persisted as
  notifications_enabled, default on) + 'Send test notification' button;
  enabling requests POST_NOTIFICATIONS when not granted.
- Session completion (WHM rounds done, meditation/sun-salutation
  finish) sends a localized notification.
- Desktop Linux compiles the GDBus backend in (vendor.mk gio probe);
  Android/web get their branches automatically.
- 6 new locale keys in all 12 languages; CJK font subsets regenerated
  -- the glyph coverage test caught 通知/工作 glyphs missing from the
  old subsets before they could ship.

Verified: desktop/web/android builds 0 errors, all tests green
(incl. glyph coverage on the regenerated subsets), app boots.
2026-08-15 00:27:07 -05:00
waozi 66b9b91487 Android + web builds on the notification-era kryon (droid CMake fixes)
vendor/kryon -> d01d8c7.

- droid CMakeLists host-k2c rule: CMake VERBATIM escapes embedded
  quotes, so -I"..." passed a literally-quoted include path and the
  host compiler could not find kir.h. Unquoted (no spaces in paths).
- Drop the kc-era db.kry/import.kry -> *_impl.c output mapping: k2c
  emits natural names, matching the Makefile (the CMake copy had
  drifted).

With that, the full corpus + kryon's new notification backend (pure-JNI
Android branch, EM_JS web branch) compile: all APK ABIs build, web
builds clean.
2026-08-14 22:39:43 -05:00
waozi a68c67f907 web: ship kryon-web-present.js — WebKitGTK software-GL survival
One script tag before the Emscripten bootstrap plus a Makefile copy of
vendor/kryon/web/kryon-web-present.js. On WebKit + software GL it moves
the GL context to a never-composited hidden canvas and presents each
frame through the visible canvas' 2D context — verified on Epiphany:
shim ACTIVE, web process flat at ~380MB for the whole run (was leaking
~150MB/s and dying within minutes), app rendering normally; Chromium
correctly no-ops ('not webkit'). vendor/kryon -> 86e90c2 (also carries
the kry_http stub const fix that broke the web link and the user's
kry_std additions).
2026-08-14 22:21:12 -05:00
waozi 6438f1754f audio: lazy device init on web
WebKitGTK's WebAudio backend (GStreamer) leaks gigabytes per second
once an audio stream opens — reproduced: web process 3.5GB -> 11GB in
45s, crash, respawn without a user gesture stays flat at ~312MB. The
audio device (and its always-on mix-meter processor) now initializes
only when something actually plays: first cue, meditation music load,
or opening the Audio settings tab. Native platforms keep eager init at
startup.
2026-08-14 21:07:35 -05:00
waozi 9c5a1c7e81 vendor/kryon at 5776814 2026-08-14 21:03:10 -05:00
waozi e044078f9a Android host tool is k2c: build cmd/k2c + the shared kir frontend
cmd/kc no longer exists; the host-cc command compiles cmd/k2c/*.c with
cmd/kir on the include path (validated locally: builds and transpiles).
2026-08-14 21:02:56 -05:00
waozi bf7dc08c4d Material theme default everywhere; retro toggle row alignment
theme_style now defaults to THEME_STYLE_MATERIAL (fresh installs and
web storages see Material on every platform; Android already did via
SYSTEM). Settings toggle rows compute the switch width the widget
actually uses in retro ((max(OFF,ON)+16)*2+6) so the right-aligned
switch no longer overhangs the panel edge; Material keeps 52. vendor/
kryon -> fdc1854 (theme picker switch width matches the same minimum).
2026-08-14 20:55:40 -05:00
waozi c0714e8091 breaks: multi-line SQL restored through fixed k2c; window-restore guard
vendor/kryon -> 7ebedf9: the joiner now continues statements across
adjacent string literals ("..." "..." "..."), so the multi-line SQL
reads naturally again — verified live: the runtime string carries all
fragments. The original INSERT failure was this k2c bug PLUS a double
'(' typo in the SQL itself ('break_days(' + '(user_id'), now fixed.

break_engine_close_window only restores window state when the overlay
actually took the window over (break_window_taken) — natural breaks
must not ClearWindowState/ungrab out of nowhere.

Note: this box's X server currently receives phantom input every few
seconds with no app running (verified by probe), so idle-based live
verification is flaky here; the 130s/4-natural-takes run remains the
reference, and the focused-fallback covers such environments.
2026-08-14 20:30:10 -05:00
waozi 02b48be3e9 breaks: font subsets for new CJK glyphs + unsupported-glyph cleanup
Em-dashes and guillemets replaced with ASCII equivalents (missing from
the Latin subset); zh/ja/ko break translations regenerated the CJK
subsets. Note: the long-failing sync_account_test now passes — its key
export was writing to the empty data root produced by the '} #else_if'
kryon joiner bug fixed in 807e3fd.
2026-08-14 18:25:20 -05:00
waozi 1ec74d89c3 breaks: wall-clock engine timing + storage fixes (phases 4-7 hardening)
Two integration bugs found by live end-to-end runs:

1. Frame-based ticking broke under throttling: an unfocused/occluded
   window renders at a fraction of 60fps, so '60 ticks = 1 second' ran
   slow and idle time never reached break duration. The driver now
   derives ticks from GetTime() deltas with a fractional-tick carry
   (truncation alone halves the rate at 120Hz) and a 5-minute catch-up
   cap, matching the practice advance_elapsed pattern.

2. Multi-line string literals get shredded by per-line inspect markers
   in current k2c, so the SQL held only its first fragment and every
   break_days INSERT silently failed — SQL now single-line. (Kryon bug
   reported; joiner drops string continuations.)

Verified live: 130s idle run takes 4 natural micro-breaks on exact
30s cadence, usage seconds counted correctly, rows persisted per
second and at the 4am rollover. vendor/kryon -> 807e3fd (chain-region
joiner fix: '} #else_if {' chains used to collapse to the first
region, leaving desktop data_root empty and storage dead).
2026-08-14 18:23:20 -05:00
waozi a49a534941 breaks: complete Workrave parity — settings, exercises, stats, tray (phases 4-7)
Settings: 26 break_* keys persisted per-timer (enable/limit/duration/
postpone/max prompts/show skip/show postpone) plus master enable, block
mode, sounds, reading mode, micro-counts-as-activity, exercise count;
all importable. New SETTINGS_TAB_BREAKS screen: live timer status rows
(countdown + progress bars, the Workrave status-window analogue), block
mode dropdown, per-timer sliders, rest-break-now + view-exercises
buttons, last-7-days stats section. Driver constants now settings;
focused-fallback requires recent raylib input (90 ticks) so reading
with the window focused no longer freezes breaks; bell cues on
prompt/start/taken gated by break_sounds_enabled.

Exercises: rest overlay hosts the player — shuffled picks seeded per
day, step text advancing with idle time (freezing when you type, like
Workrave), prev/pause/next/stop via offset-freeze semantics; standalone
exercises screen with live step cycling for browsing.

Storage: break_days table (per user/date/type: prompts, repeated,
taken, natural, skipped, postponed, overdue, usage) upserted every 60 s
and at the 4 AM rollover; storage_break_history feeds the stats UI.

Tray: Breaks submenu (Rest break now, Exercises, Mode submenu with
Normal/Quiet/Suspended, Reading mode, settings shortcut) and tray
status shows the next-break countdown. locale_keys_test now also
collects key literals from data tables (break_ex_* steps resolve via
helpers). 71 new keys translated across all 14 languages.
2026-08-14 17:48:59 -05:00
waozi 6c4b968480 breaks: locale keys for all 14 languages + scanner-visible overlay strings
13 break_* keys (titles/bodies per break type, countdown, idle note,
lock note, buttons, prelude) with real translations across cs de es fr
id it ja ko pt ru zh. Overlay now calls GetLocaleText with literal keys
at the call site so locale_keys_test sees them. breath_timing_test
keeps its local count_value decode — the engine marks it #private and
k2c now correctly keeps it out of the header.
2026-08-14 17:18:16 -05:00
waozi 120b1fbc55 breaks: break_micro/break_rest/break_daily screenshot scenes
Drives the engine straight into Breaking at limit with a third of the
duration idle, on the overlay screen, so --screenshot exercises the
overlay standalone (verified all three variants render correctly:
panel, green bar fill, per-type buttons).
2026-08-14 17:10:06 -05:00
waozi 72d6d3f9bc vendor/kryon at 412ee35 2026-08-14 17:09:29 -05:00
waozi b2bd6b92b6 vendor/kryon at e2df69c (kc remnant cleanup) 2026-08-14 17:08:03 -05:00
waozi 0fd31c551b Build inbe through the Kir-only k2c
- K2C comes from mk/vendor.mk's canonical per-platform bin path; the
  rule builds via 'make -C kryon k2c' (the old flat build/bin/k2c
  target is gone).
- vendor/kryon at 058c277: '#if' regions lower to C preprocessor
  conditionals, joiner fixes (ternary/bare-brace/blank-line spans),
  guard statements, file-static #private functions with forward
  prototypes, shadow-aware name resolution, array-typed parameters.
2026-08-14 16:52:12 -05:00
waozi 787c3270ed breaks: overlay screen, frame driver, exercise data (phases 3+5 core)
break_overlay.kry: InbeScreenBreak full-screen overlay — green progress
bar (idle/duration), orange flashing border while the user types through
the break, per-timer title/body, Skip/Postpone honoring show_* and the
promotion button lock with countdown, micro-break 'rest break now'
button, auto-dismiss if no timer is breaking.

app_breaks.kry: per-frame driver wired first in updateapp — samples the
X idle monitor (focused-window fallback), 4am daily-limit day rollover,
ticks the engine, and consumes the event queue: prelude toasts on
prompt, window takeover on start (RestoreWindow + TOPMOST, undecorated
maximize + keyboard grab for block modes 1/2), full restore on end.
Desktop-only guard; Android/Web no-op.

break_exercises.kry: 10 original exercises (Workrave is GPL — no content
copied) as parallel-array data with step accessors, totals, and a
deterministic seeded shuffle for the rest-break player. Exercise player
UI + locale keys land with phase 4/5 wiring.

app.h/app.c/types.kry: BreakEngine in InbeApp + breaks_enabled/
prev_screen/block_mode/input_active fields, engine init + desktop
enable, overlay in g_simple_screens, app_breaks_update call site.

All three new modules syntax-check clean with app flags; app.c compiles
error-free. Full link still blocked on remaining kir joiner fixes in
flight.
2026-08-14 15:25:04 -05:00
waozi 08730301cc breaks: activity monitor platform layer (phase 2)
dlopen'd libX11/libXss idle counter (no build-time dependency): reports
system-wide ms-since-last-input for the break engine's active/idle
counters, plus the break keyboard grab for block mode (pointer stays
free for the overlay buttons). Wayland-native sessions report
unavailable so the app can fall back to a focus heuristic; other
platforms are stubs pending their pass. Standalone smoke test covers
both available and unavailable paths.
2026-08-14 14:59:22 -05:00
waozi 0b8aa53075 vendor/kryon -> f9cd8b2 (tip) 2026-08-14 14:58:31 -05:00
waozi 9099e188d5 App-side k2c cutover fixes; vendor -> b81a2bd
- db.kry/import.kry imported their hand-written companion headers by
  bare name ('db.h'), which in the generated tree resolves to the
  generated header itself -> self-include, StorageState and friends
  invisible. Import by 'storage/<name>.h' so -Isrc wins.
- import.kry: kryon.h and miniz.h must not be #private -- exported
  declarations use Color and mz_zip_archive, so the generated header
  needs those includes.
- vendor/kryon -> b81a2bd: array-typed parameters now emit 'T name[N]'.
2026-08-14 14:50:07 -05:00
waozi 8f213bb6bb breaks: Workrave break-reminder engine + tests (phase 1)
Pure tick-driven engine in src/breaks/break_engine.kry modeling Workrave's
three timers (micro 3min/30s, rest 45min/10min, daily 4h with 4am reset),
activity/idle counters with natural takes, the prelude prompt loop with
max-prompts escalation, skip/postpone, micro->rest promotion with button
locking, quiet/suspended/reading modes (timed), and per-day stats counters.
break_engine_test drives all of it tick-by-tick; breath_timing_test drops
its static count_value copy (the generated header declares it now).
vendor/kryon -> db8ae14 (K&R '} else {' kir fix this engine depends on).
2026-08-14 14:43:59 -05:00
waozi 79e1893dab Use the canonical kryon K2C path (no legacy build/bin alias)
vendor/kryon -> 3abe069: mk/vendor.mk exports the canonical per-platform
tool path, and kryon dropped the legacy top-level build/bin aliases.
Drop inbe's hardcoded legacy path and build the compiler via the new
phony 'make -C vendor/kryon k2c'. Regeneration verified byte-identical.
2026-08-14 14:15:23 -05:00
waozi abbee06bbc No legacy kc remnants: k2c comment fix + multi-file K2C prerequisite
- breath_timing_test comments said 'kc transpiler'/'kc-emitted' -- k2c.
- The $(K2C) rule depended only on cmd/k2c/main.c (a kc-era habit: kc
  was a single file). k2c is multi-file and links kir, so a compiler
  change did not rebuild the binary and regeneration silently used old
  behavior. Prerequisite is now the full source set, mirroring kryon's
  own K2C_SRCS.
2026-08-14 13:57:38 -05:00
waozi efdecf4ec7 Configure the desktop install suite so 'make install' is complete
The kryon-provided install suite (mk/package-freebsd.mk: install /
install-user / uninstall / stage) was shipping a bare binary only,
because inbe never set APP_DESKTOP/APP_ICON/APP_METAINFO/APP_ID -- so
'make install' gave you an executable with no menu entry or icon.

Set them to the existing packaging assets (same desktop/icon/appdata
the .deb and AppImage ship). Everything the app needs at runtime is
embedded (UI_EMBEDDED_ONLY=1), so the install set is exactly: binary,
desktop entry, hicolor icon, metainfo.

Verified on Debian: 'make install-user' lands all four files under
~/.local and the installed binary boots; 'make stage DESTDIR=...' stages
the same tree; 'make uninstall' removes them; 'make deb' still builds
inbe_1.8.23_amd64.deb with the identical layout; desktop entry passes
desktop-file-validate.
2026-08-14 13:54:13 -05:00
waozi a8367fa5bc Finish k2c cutover app side: vendor tip, natural db/import names
The k2c migration commit pinned vendor/kryon one commit short of the
extension-less include fix (274d68b), and kept kc-era output renaming
that k2c does not implement:

- vendor/kryon -> 6db4f0e (tip): '#include "core/types"' now emits as
  core/types.h. Note the k2c binary must be rebuilt when any cmd/k2c
  source changes -- the $(K2C) rule only tracks kc.c, so a stale binary
  silently regenerates with old behavior.
- Drop the db.c/import.c -> db_impl/import_impl remap and the dead
  '#output "db_impl"' / '#output "import_impl"' directives: k2c has no
  #output support and emits natural names; all Makefile/test references
  updated.

With this the generated tree is name-correct and db_impl.c is no longer
missing (the current CI failure). Remaining k2c gaps before inbe's
corpus compiles (krait's does): #if ANDROID conditional imports are
emitted unguarded (android/native_activity.h etc. on native builds) and
emscripten.h appears unguarded in generated headers -- those are
compiler-side and left for k2c.
2026-08-14 13:41:07 -05:00
waozi 6cda28dbd4 k2c: angled includes stay angled; extension-less header imports append .h
'#import "core/types"' now emits '#include "core/types.h"' and angled
system includes pass through unchanged.
2026-08-14 13:15:02 -05:00
waozi 785bec395c Fix Firefox CI smoke: provide software GL (xvfb + mesa llvmpipe)
The Mozilla-build Firefox created WebGL contexts as disabled in the
container: no GPU and no software rasterizer. Install xvfb +
libgl1-mesa-dri, run the smoke under xvfb-run with
LIBGL_ALWAYS_SOFTWARE=1 (same recipe as the screenshot pipeline), so
llvmpipe provides the WebGL context.
2026-08-14 08:42:43 -05:00
waozi f5efd5049f Fix Firefox CI install: correct mozilla.org product slug (firefox-latest)
'firefox-latest-release' 404s on download.mozilla.org; 'firefox-latest'
redirects to the CDN tar.xz. Also fail the step loudly if the browser
binary is missing after extraction.
2026-08-14 08:27:34 -05:00
waozi 9d71c6c66f Fix Firefox CI install: mozilla.org serves .tar.xz, not .tar.bz2 2026-08-14 08:12:59 -05:00
waozi 42bbbe61f5 Harden web smoke test; Makefile housekeeping
Smoke test:
- Clear error when global WebSocket is missing (Node < 21) instead of a
  cryptic ReferenceError; Node 20 works with --experimental-websocket.
- New render-liveness check in both the CDP and Firefox BiDi paths: the
  page must have a nonzero-size canvas, a live WebGL context, and a
  cycling requestAnimationFrame loop -- catches 'boots to a black
  screen' that console-error checks cannot see. Verified PASS locally
  in both chromium and firefox.
- CI: the Firefox job now installs the Mozilla build (tarball; Ubuntu's
  apt firefox is a snap wrapper that fails in containers) and runs
  make web-smoke-test-firefox after the add-on build.

Makefile:
- KRYON_WITH_PHYSICS := 0 (was ?=): the app is UI-only; flipping the
  knob to 1 cannot work anyway because KRYON_PHYSICS_DEPS (libbox2d) is
  never linked, so it is a property, not a configuration.
- KRYON_CURL_VERSION_HEX is lazy now: := forced the curlver
  preprocessor shell at parse time on every invocation including
  'make clean'. Its only consumer is the NEEDS_NATIVE_ENV version
  guard, which expands it only for build goals.
- Added android-copy-debug-apks/-release-apks/-copy-bundle/android-smoke
  to .PHONY.

Raylib-config dedup vs kryon common.mk was considered and skipped:
inbe cannot include common.mk just for RAY_RAYLIB_CONFIG because it
defines kryon build targets; a flags-only include would be a kryon-side
change, out of housekeeping scope.
2026-08-14 07:58:39 -05:00
waozi 689d0b8086 Link font_locale_test to the real selector; run web smoke test in CI
font_locale_test re-implemented the locale->font mapping by hand, so it
kept passing while testing a stale copy (and its zh-TW branch had no test
case). Move ui_font_asset_for_locale + the INBE_FONT_* macros into
src/app/app_font_assets.h (dependency-free static inline, matching the
android_wakelock.h pattern), include it from app_fonts.c, and make the
test exercise the real selector -- now covering zh-TW, zh_Hant, and NULL.
Verified the link is real by breaking the mapping and watching the test
fail.

Also wire the existing web smoke test (scripts/web-smoke-test.mjs, 851
lines of headless-browser CDP checks) into ci.yml's chrome job. It was
written but never ran in CI: the chrome zip depends on the WEB_TARGET
file, not the phony 'web' target that chains web-smoke-test, so no
workflow executed it. Runs after the build with Node 22 + preinstalled
google-chrome-stable (auto --no-sandbox under CI).
2026-08-14 07:15:31 -05:00
waozi ef6ec9212a Add font glyph coverage test
Fonts were previously only checked as files on disk (existence), never as
glyph coverage -- which is how the broken-font regression shipped twice:
a subset regeneration that dropped the typed-input characters rendered
ae/oe/ue/ss/e'/n~/c~ in a fallback face, and no test failed.

The new test parses each shipped subset font's sfnt cmap (format 4 BMP +
format 12) in pure C -- no GPU, no kryon dependency -- and asserts:
 1. the Latin font covers every non-ASCII codepoint of the Latin/Cyrillic
    locale files plus assets/fonts/input_common.txt (the typed charset);
    CJK ranges are skipped -- they render via the CJK subset fonts;
 2. every CJK locale / language-index codepoint is covered by at least one
    shipped font, so the picker and cross-font fallback can render it.

Parser validated by a full sweep against fontTools: 5665 (font,
codepoint) pairs, 0 disagreements. Also adds a --probe mode for
debugging future failures.
2026-08-14 06:50:19 -05:00
waozi fa6b6fa891 Add 'make ci' for local parity with the ci.yml gate
Runs the unit tests plus the web (emcc) build -- the two things ci.yml
runs that are reproducible locally. Run before pushing to catch web-only
breakage (code under #if defined(PLATFORM_WEB)) that 'make test'
(desktop-native) misses. This is exactly the gap that let the
app_web_bridge.c include failure reach CI this session.
2026-08-13 22:33:23 -05:00
waozi 82039b3cf2 Fix OpenStore publish checkout: fetch submodules + LFS
publish-openstore.yml used a bare actions/checkout@v4 with no submodules
or LFS, but 'make click' needs vendor/kryon (submodule) and the build
pulls LFS-tracked audio assets -- so the publish job could never even
configure. Match ci.yml/release.yml: submodules: recursive, fetch-depth:
0, lfs: true.
2026-08-13 22:28:47 -05:00
waozi e5e47dde0c Glob src/app/*.c in both build systems to stop source-list drift
The app source list was maintained explicitly in both the Makefile
APP_SRCS and the Android CMakeLists add_library(), so adding an app
module (app_fonts/audio/web_bridge this session) required editing both
-- and the Android copy was missed twice, breaking release builds.

Both build systems now glob src/app/*.c (sorted): dropping a new
cross-platform app module needs no build-system edit. The directory is
the single source of truth. The Makefile wildcard expands at parse time;
the CMake uses CONFIGURE_DEPENDS to re-glob on changes.
2026-08-13 21:59:09 -05:00
waozi 449edd731e Add extracted app sources to the Android CMake build
The app.c split moved font/audio/web functions into app_fonts.c,
app_audio.c, and app_web_bridge.c, but the Android CMakeLists used an
explicit source list that only had app.c + audio_library.c, so the moved
symbols were undefined at link time. Add the three new files.
2026-08-13 21:28:32 -05:00
waozi aed4ceae6e Fix app_web_bridge.c includes for the web build
The bridge body is #if PLATFORM_WEB, so the desktop build compiled it to
empty and masked missing includes. The web build (emcc) needs <stdio.h>
(snprintf), data.h (data_init), and practices/practice_registry.h
(practice_get, PracticeDefinition, practice_clamp_id,
practice_active_advance_elapsed).
2026-08-13 21:04:43 -05:00
waozi 5d27c8641d Table-drive the simple screen dispatch in updateapp
Replace the 9-branch if(screen==X){draw; goto finish_frame;} chain with a
g_simple_screens[] table (screen id -> draw fn) and a loop, mirroring the
PracticeDefinition vtable already used for practices. Adding a simple
screen is now a one-line table entry. Practice screens keep their switch
(circle-bounds/active-session logic). int-returning draws go through tiny
wrappers so the table holds a uniform void(*)(InbeApp*).
2026-08-13 20:56:53 -05:00
waozi fc6ce63fe3 Extract the web/JS test bridge into app_web_bridge.c
Move the PLATFORM_WEB test hooks and emscripten exports (app_web_*,
web_test_*) out of app.c into a focused app_web_bridge.c. app.c is now
1,777 lines. No behavior change; build + tests + screenshot smoke pass.
2026-08-13 20:49:14 -05:00
waozi ab9689a9d3 Extract the audio subsystem into app_audio.c
Move load_sound_asset, the cue/breath/bell playback helpers, the audio
meter callback, init_audio/app_audio_reinitialize, and SafeUnloadSound
out of app.c into app_audio.c. Cross-module entry points (init_audio,
unload_cue_sounds, audio_mixed_meter) are prototyped in app_internal.h.
app.c is now 1,961 lines. No behavior change; build + tests + screenshot
smoke pass.
2026-08-13 20:41:54 -05:00
waozi dd2fc1f901 Extract font/locale registration into app_fonts.c
Move the font registration chain (ui_font_asset_for_locale, register_*,
load/unload/discard_locale_font, app_running_in_kryon_preview) out of the
2,393-line app.c into a focused app_fonts.c, with cross-module prototypes
in the new app_internal.h. No behavior change; build + tests + screenshot
smoke pass.
2026-08-13 20:20:14 -05:00
waozi 21ba5b2c9a Remove orphaned wasm4/ and uxn/ experimental backends
These directories (~700 KB combined) were referenced by nothing: no
Makefile target, no .github/workflows, no scripts/, and they are not
git submodules. They mislead readers into thinking WASM4/Varvara are
supported targets.
2026-08-13 19:58:43 -05:00
waozi 37d9e0d9df Update app sources 2026-08-13 16:40:57 -03:00
waozi efa0425456 Fix site nav styling 2026-08-13 16:39:14 -03:00
waozi 305b1016b0 Refresh site theme 2026-08-13 16:32:21 -03:00
waozi 929d26f2c7 Fix Netlify workflow syntax 2026-08-13 13:25:40 -03:00
waozi e6990935a9 Use Netlify zip deploy for production 2026-08-13 13:24:48 -03:00
waozi ded220804e Track kryon a1a5f13: guard KryScenePhysicsDestroy (fix Windows link)
Kryon now guards the KryScenePhysicsDestroy() call with KRYON_WITH_PHYSICS,
so physics-off builds (inbe) link cleanly under mingw's static linker
without relying on --gc-sections to drop KrySceneDestroy.
2026-08-13 10:13:11 -05:00
waozi c6f8cf638a Exclude kryon 2D physics from all build variants (fix web/Netlify build)
The KRYON_WITH_PHYSICS=0 opt-out and KRYON_PHYSICS_SRCS filter existed
only in the working tree (uncommitted) and only filtered KRYON_SRCS
(desktop). CI runs the committed Makefile, which had no opt-out at all,
so the kryon d84db61 vendor bump (which added node_area2d/body2d/
physics_world/collision_shape2d.c requiring box2d.h) broke the web build:
  fatal error: 'box2d/box2d.h' file not found

KRYON_WEB/WINDOWS/CLICK_SRCS are snapshotted from KRYON_SRCS before the
filter, so re-apply filter-out to each variant. Desktop unchanged.
2026-08-13 09:43:08 -05:00
waozi af98862868 Release 1.8.23
Root-cause fix for accented characters rendering in a broken fallback
font in text fields (kryon dynamic font loading), plus the Android build
fix for the kryon vendor bump.
2026-08-13 09:34:04 -05:00
waozi 55fb0759db Exclude kryon 2D physics (Box2D) sources from the Android build
inbe is UI-only (KRYON_WITH_PHYSICS=0); the desktop Makefile already
filters KRYON_PHYSICS_SRCS out via vendor.mk. The Android CMakeLists
globs kryon src/*.c unfiltered, so the kryon vendor bump that added
node_area2d/body2d/physics_world/collision_shape2d broke the APK build
(box2d/box2d.h not found). Mirror the desktop exclusion in CMake and
define KRYON_WITH_PHYSICS=0.
2026-08-13 09:32:58 -05:00
waozi 03a056678c Render German/European glyphs in-font via dynamic kryon font loading
Track kryon d84db61. Kryon source fonts are now dynamic: the atlas grows
on demand for any glyph the file contains, so characters like ae oe ue ss
typed into text fields render in the active font's own typeface instead of
falling through font_for_codepoint() to a different registered font.

Drop the now-removed RegisterUIFontFileSource dynamic_codepoints argument,
and delete the locale .txt codepoint-scanning machinery (UIFontCodepoints
and helpers) -- Kryon seeds the standard Latin/Cyrillic/Greek range and
grows from there, so the per-locale pre-bake is no longer needed. The
language-picker CJK subset fonts remain registered as cross-font fallback
for native script names.
2026-08-13 08:48:38 -05:00
waozi df28b09ca0 Release Inbe 1.8.22 2026-08-12 15:04:28 -05:00
waozi f64b7f44e7 Release Inbe 1.8.21 2026-08-12 04:52:54 -05:00
waozi 800a01493c Release Inbe 1.8.20 2026-08-12 04:39:50 -05:00
waozi 975f524954 Bump kryon pin: best-available DPI estimate for correct Android scaling 2026-08-12 04:32:16 -05:00
waozi a866bfc54c Fix release build: upstream SetUIDeviceDensity and other kryon fixes
The vendored kryon working tree had uncommitted local edits (SetUIDeviceDensity in ui_dpi, dropdown resize radius, theme picker spacing) that the local debug build relied on but the pinned commit lacked — causing the CI release build to fail with 'undefined symbol: SetUIDeviceDensity'. These changes are now committed upstream in kryon (a7cefee) and the vendor pin is bumped to that commit. Also removes the per-frame 'INBE_EMBED: DPI scale' TraceLog spam.
2026-08-11 04:22:56 -05:00
waozi 95209154d3 Fix locale key tests: add missing translations, remove unused key
Backfill appearance_scale_label, audio_music_none_option, and the four audio_import_error_* keys across all 11 non-English locales with proper translations. Remove the now-unused practice_music_title key from en.txt. All make test targets pass.
2026-08-11 03:49:15 -05:00
waozi 3dba70c3b5 Release Inbe 1.8.19 2026-08-11 03:28:26 -05:00
waozi 19ebfc1a14 Release Inbe 1.8.18 2026-08-10 21:10:38 -05:00
waozi 825f005640 Release Inbe 1.8.17 2026-08-09 23:45:45 -03:00
waozi 6e5c9c1297 Release Inbe 1.8.16 2026-08-09 22:08:59 -03:00
waozi 09f86315ab Extract Android native libs for older devices 2026-08-09 21:22:06 -03:00
waozi 7728331e80 Update Kryon vendor pointer 2026-08-09 20:14:51 -03:00
waozi 7cfecf82cb Update Kryon widget API usage 2026-08-09 20:11:55 -03:00
waozi f177840e93 release inbe 1.8.15 2026-08-09 13:13:51 -03:00
waozi 6d06296a6c bump kryon vendor 2026-08-09 12:54:26 -03:00
waozi 9f10cc341b bump kryon vendor 2026-08-09 12:49:06 -03:00
waozi 20ba52226c update inbe for clean kryon api 2026-08-09 12:47:38 -03:00
waozi 0c89957e27 Update vendored Kryon 2026-08-08 16:24:54 -03:00
waozi 2553e98811 Use Material theme widgets 2026-08-08 15:05:09 -03:00
waozi cacc19d561 Fix web storage smoke persistence 2026-08-08 15:04:32 -03:00
waozi 2bf7d4062d Await web smoke storage flushes 2026-08-08 14:02:49 -03:00
waozi e532af4f0c Drain web storage flushes before reload 2026-08-08 13:55:47 -03:00
waozi e3ce456cdd Update Kryon stable tool targets 2026-08-08 13:48:28 -03:00
waozi 9328257bba Fix web smoke persistence and icon colors 2026-08-08 13:40:02 -03:00
waozi 64ee0e1d14 Use GTK file dialog for audio import 2026-08-08 13:21:31 -03:00
waozi 8b658c113f Fix desktop audio import flow 2026-08-08 12:44:51 -03:00
waozi a0a98e8f46 Fix audio import picker state 2026-08-08 12:37:25 -03:00
waozi 486eb64647 Add audio preview controls 2026-08-08 11:25:06 -03:00
waozi 2d3b5c8d72 Fix Android smoke under Ubuntu chroot 2026-08-08 11:10:50 -03:00
waozi 2e4e96b24f Add unified audio settings 2026-08-08 10:33:48 -03:00
waozi 452871eae7 Use Kryon Ksync transport 2026-08-08 09:35:46 -03:00
waozi 0dbd5c8e4a Report module/runtime/exception state when web smoke stalls
When the web app does not become healthy the smoke test now reports
whether the emscripten Module loaded, whether the runtime reached
__inbeRuntimeReady, the last Module.setStatus text, and any
Runtime.exceptionThrown events. This distinguishes a preRun/IDBFS
deadlock from a silent wasm abort and points at the failing stage
instead of an empty recent= field.
2026-08-08 00:04:07 +00:00
waozi a9e9a5fa8a Fix duplicate device entry in sidebar and move audio settings to bottom
app_draw_nav_sidebar passed count 4 to app_draw_sidebar_settings_items
but the settings_items array only holds 3 entries (Device, Appearance,
About), so the sidebar read past the array and rendered a phantom
fourth entry. Pass the correct count.

Reorder settings_device_draw so the play-in-background toggle and the
audio output section sit at the bottom, below language, orientation,
fullscreen, and the on-screen keyboard toggle.
2026-08-07 23:42:06 +00:00
waozi 9f4d0311fd Fix UI tests for kryon node API and add missing locale keys
Update guide_overlay_test and app_bottom_nav_test to the current
kryon UI API: UIRenderGuideOverlay replaces DrawUIGuideOverlay, and
the bottom nav test stubs the UI*Node dispatchers instead of the
removed DrawUI* renderers. These compile errors were gating the
release workflow on every master push.

Add the missing skip_button translation to the ten non-English
locales; the key existed in en/fr but was never translated.

Bump vendor/kryon to pick up kryon's own theme-picker labels and
the public text-drawing helper declarations.
2026-08-07 23:36:51 +00:00
waozi ad9abc0fbd Release 1.8.14 Kryon UI fixes 2026-08-06 08:37:45 -03:00
waozi 85ee4c64a7 Update Inbe for Kryon node runtime 2026-08-06 08:09:09 -03:00
waozi 287944c3fa Add Inbe theme style selector 2026-08-05 17:27:44 -03:00
waozi cd8f406aec Fix Kryon pointer and cue test 2026-08-05 15:21:05 -03:00
waozi d61eb701bc Release 1.8.13 audio settings 2026-08-05 15:13:33 -03:00
waozi 79b49e317c Update Kryon submodule for kt visual targets 2026-07-30 18:10:11 -03:00
waozi 1b72211ea9 Update Kryon submodule for kt scenarios 2026-07-30 18:05:24 -03:00
waozi 0ad982c05b Update Kryon submodule for kt runner 2026-07-30 18:01:41 -03:00
waozi 0a4f86a270 Update Kryon IDE chrome polish 2026-07-30 17:39:05 -03:00
waozi c96b9c26a6 Update Kryon IDE console panel 2026-07-30 17:30:49 -03:00
waozi 3833daf519 Update Kryon IDE problems panel 2026-07-30 17:04:26 -03:00
waozi 9a4bcece22 Update Kryon source path normalization fix 2026-07-30 16:50:07 -03:00
waozi 6880d8a838 Fix practice home guide layout 2026-07-30 16:41:37 -03:00
waozi b2c9006b79 Remove obsolete WHM hold display modes 2026-07-30 16:40:48 -03:00
waozi bbcb81ff3f Merge WHM timing fix branch 2026-07-30 16:35:58 -03:00
waozi 600c52a434 Fix Android Kry source path reproducibility 2026-07-30 16:35:43 -03:00
waozi e4d656693c Release 1.8.12
- Fix Wim Hof between-round countdown: round 0 counts from 3 (the
  intentional 3-2-1); rounds 1+ honor the configured 'Pause after round'.
  Breath engine now owns the full session state machine, so auto-play and
  manual round-advance share one path and final-round results always persist.
- Desktop quit shortcuts: Ctrl+Q quits from any screen; Esc quits when idle on
  the home screen. Tray builds route through the keep-running/quit prompt;
  no-tray builds exit immediately, matching the window close button.
- Enable WAL mode for app storage.

Bumps version to 1.8.12 (Android versionCode 87) via update_version.sh.
2026-07-29 16:47:31 -03:00
waozi 4099d1ab6c Fix Wim Hof between-round countdown; engine owns session state
The "3-2-1 countdown is broken between rounds" report traced to two
divergent round-advance paths that had drifted apart. During auto-play the
engine's next() advanced rounds but never restored the user's configured
pause_seconds (it stayed pinned at the 3s forced for round 0), so every round
counted down from 3 and the "Pause after round" setting was silently ignored.
Auto-play also never persisted results on the final round -- only the manual
step-forward path did.

Make the engine the single source of truth and turn the app layer into a thin
orchestrator:

- inbe_effective_pause_seconds() encodes the round-0 special case once;
  starting() and all three display/notification sites use it. The
  pause_seconds=3 clobber in session_start and the saved_pause_seconds
  save/restore dance in finish_round are gone.
- Extract the struct mutations from finish_hold into inbe_end_hold().
- next() sets a completed flag (surfaced via inbe_just_completed()/
  inbe_clear_completed()) instead of silently flipping the screen.
  inbestep is a no-op once completed.
- New session_complete() handles results persistence + screen flip and is
  called from both the auto-play per-frame check and the background
  catch-up loop, so auto-play now saves like manual play.

Add tests/breath_timing_test.c -- the first coverage of the breath engine --
asserting round-0 == 3s regardless of config, rounds 1+ == configured pause,
configured 0 skips the countdown, results populate each round, and the final
round completes and freezes the engine. Wired into `make test`.
2026-07-29 14:24:13 -03:00
waozi 8db7470369 Use WAL mode for app storage 2026-07-27 21:10:58 -03:00
waozi 8ad30513e0 Release 1.8.11 2026-07-27 19:46:55 -03:00
waozi 01654d24e8 Keep font subsetting explicit 2026-07-27 19:16:23 -03:00
waozi 9aab1d0eff Avoid CI font regeneration 2026-07-27 19:04:30 -03:00
waozi affe16e573 Use subset fonts with Android fallback 2026-07-27 19:01:58 -03:00
waozi 841dce6dd9 Fix Netlify prebuilt deploy 2026-07-27 18:09:23 -03:00
waozi 8d1d2259c8 Update Kryon for Windows build fix 2026-07-27 17:59:52 -03:00
waozi b88b4b7a47 Fix non-Android builds after runtime asset import 2026-07-27 17:34:18 -03:00
waozi ddc4b978b8 Fix Kryon preview and Android tooling 2026-07-27 16:06:33 -03:00
waozi 1650b9211a Let habit color selector fit one row 2026-07-27 12:08:51 -03:00
waozi 0ea57714d8 Update Kryon text input isolation fix 2026-07-27 12:01:38 -03:00
waozi cfe51468b7 Use Ksync sync backend 2026-07-27 08:57:49 -03:00
waozi 6118cfc0ec Bump Kryon to 22afa31 + platform_thread NULL fix (c26b7ec)
Pin vendor/kryon to c26b7ec on the fix/platform-thread-stddef branch:
22afa31 (Kryon master) plus a one-line #include <stddef.h> in
src/platform/platform_thread.c so the emscripten/web build can resolve
NULL (previously masked by pthread.h on native).

This unblocks both the web build AND the practice_screen.kry UI work,
which depends on WidgetButton (added in Kryon since the old 93913f1 pin).

Reverts commit 0fa7c31 (which had dropped the pin back to 93913f1 and
broke the practice screen in the process).
2026-07-26 11:00:02 -05:00
waozi 0fa7c31668 Revert Kryon vendor bump to 93913f1
The bumped pin (22afa31) exposed a pre-existing Kryon bug on the
emscripten/web build: vendor/kryon/src/platform/platform_thread.c uses
NULL without including <stddef.h>, which only surfaces under emscripten's
stricter header setup (on native, pthread.h transitively provides NULL).
The bug is identical at both pins — it was previously masked by the
EM_ASM_INT failure in sync_account.kry, which is now fixed.

Reverting unblocks the 1.8.10 web release. The upstream Kryon fix
(one-line #include <stddef.h>) is noted as a follow-up; once it lands in
kryonlabs/kryon we can re-bump.
2026-07-26 10:49:38 -05:00
waozi 8c21dee6dd Fix web build: import emscripten.h for #intrinsic "web" in sync_account.kry
The #intrinsic "web" declaration expands to EM_ASM_INT(...) in the generated
C, which requires <emscripten.h>. sync_account.kry was missing the import
(the other two files using this intrinsic, habits_screen.kry and
settings_data_ui.kry, already had it). This broke the emscripten/web build
with 'call to undeclared function EM_ASM_INT'.
2026-07-26 10:05:20 -05:00
waozi 83800a8886 Release Inbe 1.8.10
- Migrate src/storage/import.c to Kry (import.kry -> import_impl.c)
- Bump Kryon vendor to 22afa31 (persistent text input focus, minimal Kry
  language with sugar verbs removed)
- Rework desktop close behavior: disable raylib ESC-to-exit on native; tray
  builds route close through the keep-running/quit prompt, non-tray builds
  quit immediately on window close
- Habits editor description scroll state
- Screen/settings UI refinements across habits, pet, practice, profile,
  language, manual, and settings screens
2026-07-26 09:58:05 -05:00
waozi f86b264c0a Migrate src/storage/import.c to Kry
Translate the legacy-file / Tickmate / SQLite zip import logic to Kry
following the established db.kry pattern (kept hand-written import.h as
the public contract, used #output "import_impl" to avoid filename
collision, #export preserves the exact C ABI names). The X-macro
setting-key list is materialized into an explicit const char* array
since Kry has no X-macro support. All four storage/sync tests pass.

Verified: kc transpile + native build + storage_import_test,
sync_account_test, sync_review_test all green.
2026-07-26 08:04:58 -05:00
waozi 0047a3f486 Migrate Inbe app code to Kry 2026-07-23 14:00:07 -03:00
waozi 05bc292477 Show zero for missing leaderboard data 2026-07-18 08:37:21 -03:00
waozi ee4c883599 Update Flint vendor 2026-07-18 08:31:25 -03:00
waozi 2b070e56d9 Split Linux release package jobs 2026-07-17 22:59:38 -03:00
waozi 236df8a509 Fix Inbe 1.8.9 release build 2026-07-17 22:37:19 -03:00
waozi 12705f06a6 Release Inbe 1.8.9 2026-07-17 17:35:00 -03:00
waozi 5e350e1f5c Reject invalid cached meditation audio 2026-07-12 23:29:55 -03:00
waozi 5cc64ff4cc Update Flint vendor icon asset formatting 2026-07-12 23:20:00 -03:00
waozi 6bc425a3bc Consolidate storage DB helpers 2026-07-12 23:18:47 -03:00
waozi a85fe05814 Stabilize embedded app geometry handling 2026-07-12 23:08:04 -03:00
waozi e24cb49c69 Update Flint vendor fallback fixes 2026-07-12 22:58:34 -03:00
waozi 01223c0329 Centralize pointer frame blocking 2026-07-12 22:55:05 -03:00
waozi 4b54bd925d Prevent consumed modal clicks closing sidebar 2026-07-12 22:50:24 -03:00
waozi b768431ced Release 1.8.8 with Flint icon integration 2026-07-12 22:01:33 -03:00
waozi 2e56021fac Add Inbe host close callback 2026-07-12 19:36:53 -03:00
waozi 2a51aaeb63 Use JDK 17 for Android Gradle builds 2026-07-12 18:46:20 -03:00
waozi e8590c0a61 Improve Firefox add-on packaging and app storage 2026-07-12 18:37:26 -03:00
waozi 045da1d497 Revert hosted size callback 2026-07-12 17:44:58 -03:00
waozi 70d93875f1 Use hosted content size for resize requests 2026-07-12 17:43:04 -03:00
waozi 9dbfecf87b Route embedded resize requests through host 2026-07-12 17:36:00 -03:00
waozi 11e7b1cd7c Avoid host resize when embedded in Lotus 2026-07-12 17:26:12 -03:00
waozi b7e349f389 Release 1.8.7 2026-07-12 15:39:59 -03:00
waozi 733981e68b Use Flint file dialog on web imports 2026-07-12 00:42:39 -03:00
waozi 87df605739 Update Flint to v0.1.1 2026-07-12 00:13:07 -03:00
waozi 34b21faae4 Update Flint to v0.1.0 2026-07-12 00:07:21 -03:00
waozi 83c9a4eb70 Prepare 1.8.6 web extension release 2026-07-11 22:32:01 -03:00
waozi 129c141d6d Change Inbe license to BSD 3-Clause 2026-07-11 20:47:18 -03:00
waozi e114821967 Release Inbe 1.8.5 with Flint UI updates 2026-07-11 20:42:51 -03:00
waozi eca791cdc8 Update Flint widgets and release-store publishing 2026-07-11 18:49:15 -03:00
waozi 4b62a3e7f3 Refine profile navigation and sidebar flows 2026-07-11 18:49:15 -03:00
waozi b0a9bb0cee Improve Practice screen UI 2026-07-11 18:49:15 -03:00
waozi 940de1077c Improve desktop playback and file dialogs 2026-07-11 18:49:15 -03:00
waozi 7315ad854d Add system theme support 2026-07-11 18:49:15 -03:00
waozi afb56a3f84 Fix Android 17+ storage settings 2026-07-11 18:49:15 -03:00
waozi c253a2228d Fix sync UI and review flow 2026-07-11 18:49:15 -03:00
waozi a6959bc7b0 Upgrade sync protocol v3 2026-07-11 18:49:15 -03:00
waozi dbdc08b396 Fix web build and deduplicate code 2026-07-11 18:49:15 -03:00
waozi 037e0c1548 Add practice banners 2026-07-11 18:49:15 -03:00
waozi c276713e24 Update WHM banner 2026-07-11 18:49:15 -03:00
waozi 3c45fc262d Improve sync review 2026-07-11 18:49:15 -03:00
waozi 1b50836ef0 Add shared practice music configuration 2026-07-11 18:49:15 -03:00
waozi 1b5bcab759 Redesign Practice cards and actions 2026-07-11 18:49:15 -03:00
waozi 3926e61590 Rework Settings overview navigation 2026-07-11 18:49:15 -03:00
waozi 9839cfa4c3 Move habit overview into Habits tab 2026-07-11 18:49:15 -03:00
waozi b1410bd4f6 Add habits overview 2026-07-11 18:49:15 -03:00
waozi 5951fcb2a1 Fix Android relaunch freeze and clean up code 2026-07-11 18:49:15 -03:00
waozi 3ea2e799ac Fix practice stats, sync review, and Android insets 2026-07-11 18:49:15 -03:00
waozi 8057757132 Improve habit management and bottom insets 2026-07-11 18:49:15 -03:00
waozi 083229b521 Add habit ordering and local install support 2026-07-11 18:49:15 -03:00
waozi 4937252e29 Move Lyra sync protocol into Flint 2026-07-11 18:49:15 -03:00
waozi 4b94f9444e Fix profile sync, modals, and asset embedding 2026-07-11 18:49:15 -03:00
waozi ef21b40643 Move leaderboard stats to synced data 2026-07-11 18:49:15 -03:00
waozi 37dadfc21d Rework Android safe areas 2026-07-11 18:49:15 -03:00
waozi 221d021938 Update practice screen UI 2026-07-11 18:49:15 -03:00
waozi d98a1e04df Fix habit-day sync and sync build dependencies 2026-07-11 18:49:15 -03:00
waozi 39d280e38d Use Flint-managed crypto build paths 2026-07-11 18:49:15 -03:00
waozi 8aca590fdb Improve meditation configuration 2026-07-11 18:49:15 -03:00
waozi c023738180 Polish themes, habits, and localization 2026-07-11 18:49:15 -03:00
waozi 41f7697767 Improve Sun Salutation 2026-07-11 18:49:15 -03:00
waozi f38f18a1d1 Improve session notifications and settings 2026-07-11 18:49:15 -03:00
waozi 08f218a89d Improve sync reliability and review handling 2026-07-11 18:49:15 -03:00
waozi a0c6af2982 Add Sun Salutation practice 2026-07-11 18:49:15 -03:00
waozi 703e69d3e4 Fix Android notification and wakelock playback 2026-07-11 18:49:15 -03:00
waozi fb2e5e1ed1 Fix meditation background play 2026-07-11 18:49:15 -03:00
waozi b9dd9c48d6 Fix test music 2026-07-11 18:49:15 -03:00
waozi 6b2ad0130f Fix modal buttons 2026-07-11 18:49:15 -03:00
waozi 44b2c60f99 Fix modal capture and sync diffs 2026-07-11 18:49:15 -03:00
waozi 7cf4c18fe3 Harden sync review and font coverage 2026-07-11 18:49:15 -03:00
waozi c6f33454fa Add sync aliases and public ID display 2026-07-11 18:49:15 -03:00
waozi 8024137b33 Adopt Flint modal handling 2026-07-11 18:49:15 -03:00
waozi fe1df49496 Fix modal behavior 2026-07-11 18:49:15 -03:00
waozi 3e80ad1a57 Add theme modal and transition setting 2026-07-11 18:49:15 -03:00
waozi 5b6920384e Add background music toggle 2026-07-11 18:49:15 -03:00
waozi ea9a4b64ce Fix icon scaling and Android insets 2026-07-11 18:49:15 -03:00
waozi 72db66c482 Fix sync issues 2026-07-11 18:49:15 -03:00
waozi 207a7be355 Refresh logo and tab bar UI 2026-07-11 18:49:15 -03:00
waozi 4c604f5b10 Add tab bar mode and fix Click file handling 2026-07-11 18:49:15 -03:00
waozi 63695823f8 Add habits guide and fix orientation 2026-07-11 18:49:15 -03:00
waozi c021bfff95 Fix Practice startup and guide skip flow 2026-07-11 18:49:15 -03:00
waozi 749be66d5d Fix start screen and first-sync schema 2026-07-11 18:49:15 -03:00
waozi 6f03e693ac Rework Practice tabs and first-run guide 2026-07-11 18:49:15 -03:00
waozi f4930e67fe Reorganize habit views and Flint widgets 2026-07-11 18:49:15 -03:00
waozi 8828130cbd Fix spacing and translations 2026-07-11 18:49:15 -03:00
waozi 8535e41da6 Fix Click packaging and habit sync settings 2026-07-11 18:49:15 -03:00
waozi 8d489e2171 Refactor habit UI and Flint screen helpers 2026-07-11 18:49:15 -03:00
waozi 66f847a2e3 Add habit statistics and Russian localization 2026-07-11 18:49:15 -03:00
waozi ae882bf838 Fix native sync auth and first-run tutorial flow 2026-07-11 18:49:15 -03:00
waozi 2b880b4222 Fix queued sync updates and Linux builds 2026-07-11 18:49:15 -03:00
waozi ff2478bb4f Fix sync auth and reconnects 2026-07-11 18:49:15 -03:00
waozi 100be8648b Improve account management 2026-07-11 18:49:15 -03:00
waozi 392de3c60e Add optional sync client and offline accounts 2026-07-11 18:49:15 -03:00
waozi b8a2927c87 Fix Tickmate database imports 2026-07-11 18:49:15 -03:00
waozi 1b64ca84ba Improve Android data imports 2026-07-11 18:49:15 -03:00
waozi 683cd98673 Expand release automation across platforms 2026-07-11 18:49:15 -03:00
waozi 270210cbaf Reorganize practice modules and manuals 2026-07-11 18:49:15 -03:00
waozi 7d2c4f505d Restore settings and habits from SQLite exports 2026-07-11 18:49:15 -03:00
waozi 5d3ab3d2cf Support Windows runtime audio downloads 2026-07-11 18:49:15 -03:00
waozi 732785f45a Fix scrolling and Android audio download errors 2026-07-11 18:49:15 -03:00
waozi 64ce53b111 Fix orientation resizing and habit import merge 2026-07-11 18:49:15 -03:00
waozi 96eeec622c Add meditation practice and monochrome theme 2026-07-11 18:49:15 -03:00
waozi 3f84b3e52c Add habit tracker and habit editing 2026-07-11 18:49:15 -03:00
waozi fa561e338c Fix ZIP import replacement and web scaling 2026-07-11 18:49:15 -03:00
waozi 1be4050ab0 Add donation address 2026-07-11 18:49:15 -03:00
waozi ae0d4d7da3 Fix Android background sessions and safe areas 2026-07-11 18:49:15 -03:00
waozi c26c3309f0 Fix history editing scroll and text alignment 2026-07-11 18:49:15 -03:00
waozi 8e2786b288 Fix Android inset touch alignment 2026-07-11 18:49:15 -03:00
waozi 0f2963b22c Add hold display and progressive speed controls 2026-07-11 18:49:15 -03:00
waozi aa4c21f0ec Add file import picker and session volume 2026-07-11 18:49:15 -03:00
waozi d790ea0589 Adopt Flint UI, themes, and font support 2026-07-11 18:49:15 -03:00
waozi d838b28ec3 Reorganize settings navigation 2026-07-11 18:49:15 -03:00
waozi 3960b15465 Improve history editing and session controls 2026-07-11 18:49:15 -03:00
waozi e71491b918 Add editable history and sound settings 2026-07-11 18:49:15 -03:00
waozi ec4fbf7bed Add multilingual onboarding and metadata 2026-07-11 18:49:15 -03:00
waozi c032798065 Add Android background playback 2026-07-11 18:49:15 -03:00
waozi 9bdcf1ca9f Fix results and tutorial layout 2026-07-11 18:49:15 -03:00
waozi 85c606a7be Add text reflow and package all assets 2026-07-11 18:49:15 -03:00
waozi 79faa229af Add procedural icon fallbacks 2026-07-11 18:49:15 -03:00
waozi df95084b09 Fix storage paths and modern Android crashes 2026-07-11 18:49:15 -03:00
waozi d5578b1117 Fix slider focus release 2026-07-11 18:49:15 -03:00
waozi 0071ae2c2a Fix changelog extraction 2026-07-11 18:49:15 -03:00
waozi 0a4650ea03 Add Android ZIP sharing 2026-07-11 18:49:15 -03:00
waozi 6bbecf3178 Add Android back-button session handling 2026-07-11 18:49:15 -03:00
waozi ac8812467c Add F-Droid metadata and release tagging 2026-07-11 18:49:15 -03:00
waozi 81ccbde44c Fix session history and bell timing 2026-07-11 18:49:15 -03:00
waozi e4cb7edc98 Add themes and fullscreen scaling 2026-07-11 18:49:15 -03:00
waozi 76bed1c151 Standardize icon sizing and mobile buttons 2026-07-11 18:49:15 -03:00
waozi 3c3f4cd063 Improve scrolling, sounds, and settings links 2026-07-11 18:49:15 -03:00
waozi 1badb0387c Fix countdown and DPI scaling 2026-07-11 18:49:15 -03:00
waozi 968c9cb848 Fix web persistence and Android target SDK 2026-07-11 18:49:15 -03:00
waozi 1bae20b891 Initial breathing app 2026-07-11 18:49:15 -03:00
waozi a424a34f0b Fix release store publish workflow 2026-07-11 18:30:16 -03:00
waozi 6d85152660 Update Flint Windows raylib rename fix 2026-07-11 18:13:12 -03:00
waozi a4a984e2b2 Refresh Windows vendor cache inputs 2026-07-11 17:51:31 -03:00
waozi ee767e040a Fix Windows raylib wrapper build 2026-07-11 17:36:40 -03:00
waozi 5fa192dff5 Update Flint release build fixes 2026-07-11 17:18:36 -03:00
waozi 293bcb9a08 Update Flint for Windows raylib audio build 2026-07-11 16:50:08 -03:00
waozi 45e9b34407 Remove unused starting countdown locale 2026-07-11 16:50:00 -03:00
waozi 8dff6487a8 Polish session audio and controls 2026-07-11 15:22:02 -03:00
waozi 4cf505245c Make habits overview columns responsive 2026-07-11 15:12:42 -03:00
waozi 978fb6d364 Use wider profile picture picker 2026-07-11 15:10:04 -03:00
waozi be56cec972 Fix web smoke Chrome DevTools startup 2026-07-11 14:58:41 -03:00
waozi 03cc1ba034 new sidebar mode 2026-07-11 13:26:17 -03:00
waozi dd0f459bb3 Update changelog for profile dropdown 2026-07-11 13:24:23 -03:00
waozi 6a10ccb740 Use profile content width for dropdown 2026-07-11 13:22:42 -03:00
waozi 94276fc41e Update Flint profile icons 2026-07-11 13:22:10 -03:00
waozi 96ebe2e243 Return settings to sidebar and update Flint 2026-07-11 13:17:49 -03:00
waozi 41b542f499 Update Flint vendor and desktop tray wrapper 2026-07-11 13:15:37 -03:00
waozi 76d2a4fc48 Keep profile outside bottom navigation 2026-07-11 12:29:14 -03:00
waozi 77de5d8d92 improve sidebar 2026-07-11 12:22:10 -03:00
waozi 15212d40c2 improve berathing circle and ui/ux 2026-07-11 00:41:08 -03:00
waozi b58224f393 Update navigation sidebar and profile icon 2026-07-11 00:34:33 -03:00
waozi f9a869116c implemnet sidebar 2026-07-10 23:59:43 -03:00
waozi 77b86e5611 Link Raylib through Flint wrappers 2026-07-10 23:55:12 -03:00
waozi 4b800a710e Use Flint public include 2026-07-10 23:40:07 -03:00
waozi 4ca5721098 Update Flint vendor 2026-07-10 23:08:03 -03:00
waozi 64cc6fefd5 Refine habit count labels 2026-07-10 23:05:58 -03:00
waozi ae6dda4883 Improve desktop tray habit actions 2026-07-10 23:01:00 -03:00
waozi cea2abd328 Add FreeBSD package release build 2026-07-10 19:30:06 -03:00
waozi eaea0cddee fix ci issues 2026-07-10 09:24:28 -03:00
waozi b94c7f4920 fix test 2026-07-10 09:16:56 -03:00
waozi 42ab82e712 fix gh action 2026-07-10 08:24:16 -03:00
waozi f5b5aab0cc fix web 2026-07-10 08:07:01 -03:00
waozi 81b88ae30d improve ui in practice screen 2026-07-10 01:28:18 -03:00
waozi 54931026fb Use adaptive Flint modal for close prompt 2026-07-10 01:16:35 -03:00
waozi 2344d48020 Use PNG practice assets in Android builds 2026-07-10 01:09:01 -03:00
waozi 4f7bb91fb8 Avoid double-driving Android background sessions 2026-07-10 01:05:46 -03:00
waozi a96e6b7c16 fix locales 2026-07-10 00:49:37 -03:00
waozi 126a8e821f Use platform native paths for screenshots 2026-07-10 00:42:59 -03:00
waozi b5141b2632 improve guid images 2026-07-10 00:40:14 -03:00
waozi 61f0787d8f Update Flint submodule for overlay hover fix 2026-07-09 22:19:42 -03:00
waozi 054faea80e desktop and sync improvements 2026-07-09 20:13:56 -03:00
waozi fcb2e7c298 Update Flint make shims 2026-07-09 18:38:48 -03:00
waozi a5293813a0 Update Flint for GTK file dialogs 2026-07-09 18:37:37 -03:00
waozi 27878c449e Update Flint for FreeBSD audio latency 2026-07-09 18:33:59 -03:00
waozi 9a01d75437 improve audio signals 2026-07-09 18:09:45 -03:00
waozi 14695aee16 Enable UI cues with transitions 2026-07-09 16:05:53 -03:00
waozi 7870ed7dcd Use smooth time-based screen transitions 2026-07-09 15:58:27 -03:00
waozi 76eeaf9eb5 use new flint api 2026-07-09 15:47:05 -03:00
waozi 7dfbcd97dc add bg play for desktop 2026-07-09 15:27:17 -03:00
waozi 4060099226 Advance desktop background sessions by elapsed time 2026-07-09 15:22:29 -03:00
waozi f9f0a6ee08 Hide bottom nav during file dialogs 2026-07-09 15:14:05 -03:00
waozi 061c23af2c fix file picker 2026-07-09 15:11:14 -03:00
waozi 3208e83ce8 Smooth theme switching and update default habits 2026-07-09 15:05:09 -03:00
waozi 821a00e621 Clarify system theme settings 2026-07-09 14:50:25 -03:00
waozi 8d17b440ba Use native system theme source 2026-07-09 14:42:15 -03:00
waozi 149aee1604 improve bsd compat 2026-07-09 14:23:19 -03:00
waozi 9199da2cb2 add system tray for unix 2026-07-09 14:23:10 -03:00
waozi 29a1778141 Update Flint FreeBSD color fix 2026-07-09 13:44:20 -03:00
waozi 47c4408835 Simplify habits overview date grid 2026-07-09 13:38:08 -03:00
waozi 5e9a3f4511 Use FreeBSD-capable Flint native build 2026-07-09 13:26:27 -03:00
waozi 4379d293ec ubuntu click build 2026-07-03 20:54:45 -03:00
waozi d2451d46ef add openstore publishing 2026-07-03 20:34:48 -03:00
waozi b01888fcfb fix for ubuntu touch click 2026-07-03 20:27:10 -03:00
waozi 9436ce938a fix amazon action 2026-07-03 19:02:20 -03:00
waozi b843c642e1 update version 2026-07-03 18:32:12 -03:00
waozi 93fd29bdd0 update avd to use latest version 2026-07-03 18:27:52 -03:00
waozi 02ece55c02 small fixes 2026-07-02 19:14:16 -03:00
waozi d73385b6a4 update gh action 2026-07-02 01:38:32 -03:00
waozi ef2a4d0e00 more ui fixes 2026-07-02 01:18:31 -03:00
waozi d539a29e8f more banners 2026-07-01 15:03:34 -03:00
waozi 1499d3e09b update whm banner 2026-07-01 12:26:13 -03:00
waozi 8cfaebf43d fix pipeline 2026-07-01 11:40:36 -03:00
waozi 38d13f3135 update 2026-07-01 10:52:14 -03:00
waozi 83c4f180b4 redesign habits and practice screen 2026-07-01 00:37:04 -03:00
waozi a1914a1415 add habits overview 2026-06-30 18:55:29 -03:00
waozi e9f95d8c89 update workflow 2026-06-29 13:39:42 -03:00
waozi 40a660249c fix locale string 2026-06-29 11:34:05 -03:00
waozi 14a270c7b6 refactor 2026-06-29 11:30:54 -03:00
waozi d39ea8fd4d improve friend sync 2026-06-29 11:05:54 -03:00
waozi 88818aea09 cleanup 2026-06-29 10:54:28 -03:00
waozi 3aec019348 update verson 2026-06-29 10:51:31 -03:00
waozi 8e01c0fa7d publish to amazon 2026-06-29 10:49:57 -03:00
waozi 5e98458257 fix android bug 2026-06-29 10:47:24 -03:00
waozi 1209e29078 fixes for modern android 2026-06-29 04:03:43 -03:00
waozi a3743c9b37 improve profile screen 2026-06-29 03:16:43 -03:00
waozi fe96b6c61e bug fixes 2026-06-29 03:06:17 -03:00
waozi eabbff2972 fix critical inset issue 2026-06-29 00:15:28 -03:00
waozi 157788fa5c improve habit management 2026-06-28 23:58:01 -03:00
waozi e89f63e382 improve my profile screen 2026-06-28 23:45:36 -03:00
waozi 1105b51c24 fix translations 2026-06-28 22:08:00 -03:00
waozi c9cf77d05a new version 2026-06-28 21:31:46 -03:00
waozi 8315898d00 Fix profile sync and leaderboard flow 2026-06-28 21:26:38 -03:00
waozi f61a9e9094 update web release for chrome 2026-06-28 12:01:24 -03:00
waozi f7cb61cf57 updated practic screen layout 2026-06-28 11:36:06 -03:00
waozi 407e4fa2a0 fix sync 2026-06-28 01:41:05 -03:00
waozi 7093dd1a51 Publish Chrome Web Store extension 2026-06-27 22:57:05 -03:00
waozi f78cd854c8 Use current Google Play upload track input 2026-06-27 19:42:51 -03:00
waozi 44725b5bf6 fix changelog 2026-06-27 18:55:59 -03:00
waozi 894552e1b6 update version 2026-06-27 18:55:11 -03:00
waozi 2695cf99a1 Update Flint vendor runtime paths 2026-06-27 18:39:48 -03:00
waozi 62317fa294 improved meditation practice 2026-06-27 18:15:36 -03:00
waozi b492e59c90 move liboqs account managemnt to flint 2026-06-27 16:14:13 -03:00
waozi 86e529db36 polish theme and translations 2026-06-27 15:37:08 -03:00
waozi a9248d0645 improve sun salutation 2026-06-27 13:18:16 -03:00
waozi 0d6f853775 Remove Inbe all builds page 2026-06-27 11:48:14 -03:00
waozi 841018451d Move Inbe site into project 2026-06-27 11:09:05 -03:00
waozi 15d3176a0b improve notifications and settings 2026-06-27 10:13:49 -03:00
waozi 67e55bc931 Update Flint vendor after Netlify restore 2026-06-27 00:18:26 -03:00
waozi 8d3265732e Update Flint vendor for Netlify deploy 2026-06-27 00:12:25 -03:00
waozi 15eab9f75c Use raylib from Flint vendor 2026-06-27 00:09:25 -03:00
waozi ca6d0c1a51 update version 2026-06-26 18:57:00 -03:00
waozi edac1da85c improve sync and add wip sun salutation 2026-06-26 18:56:46 -03:00
waozi 48ee4615d1 background service working on modern android 2026-06-26 11:34:38 -03:00
waozi 631a3d4666 update github action for itch 2026-06-25 20:30:01 -03:00
waozi 0a325d2dc7 fix background play for practice meditation 2026-06-25 20:14:25 -03:00
waozi 32e76391ef fix test music 2026-06-25 00:38:24 -03:00
waozi 57af29796e update itch upload 2026-06-25 00:29:52 -03:00
waozi d87a9fd7e7 fix modal issues and ci 2026-06-25 00:14:35 -03:00
waozi 6396281b9c Update Flint modal input handling 2026-06-24 23:58:37 -03:00
waozi cac8afab9e Make disabled transitions instant 2026-06-24 23:40:12 -03:00
waozi 39c11965ca Skip empty sync review modal 2026-06-24 23:38:25 -03:00
waozi 2f45dc30a1 Show sync review as diff 2026-06-24 23:33:06 -03:00
waozi 0b85606f98 Simplify sync review habit details 2026-06-24 23:23:45 -03:00
waozi 2b3183eb38 Fix sync review build warnings 2026-06-24 23:17:30 -03:00
waozi 810436f3bb Group sync review sessions by practice 2026-06-24 23:15:41 -03:00
waozi c51911383f Improve sync review details 2026-06-24 23:12:22 -03:00
waozi a0ea5d987c Fix hidden startup modal input block 2026-06-24 21:35:09 -03:00
waozi b7b470ca1c Remove guide pre-blocking from app UI 2026-06-24 21:32:04 -03:00
waozi 63acc477e5 Prevent stale modal capture blocking input 2026-06-24 21:29:50 -03:00
waozi aebc742384 Update Flint guide include fix 2026-06-24 21:27:30 -03:00
waozi 37856cef75 Prevent inactive guide input blocking 2026-06-24 21:26:19 -03:00
waozi 240ae3345f Harden AppImage release smoke test 2026-06-24 21:20:16 -03:00
waozi 8b314ef21f improvements with modal and syn settings 2026-06-24 21:16:25 -03:00
waozi 604f1adc0b Use Flint readonly box for public ID 2026-06-24 21:08:58 -03:00
waozi 05d55bf845 Update Flint submodule to master 2026-06-24 21:02:11 -03:00
waozi 393f62e5f0 Improve WHM breath controls 2026-06-24 21:00:44 -03:00
waozi a12cdac763 Clarify alias change flow 2026-06-24 20:55:21 -03:00
waozi 5da72c3710 Fix alias registration flow 2026-06-24 20:21:26 -03:00
waozi 73b6e5a2dc Test chopped locale font coverage 2026-06-24 20:09:16 -03:00
waozi 9930131571 Add account aliases and Flint font tooling 2026-06-24 20:05:04 -03:00
waozi 8f8114b8d7 Add sync state review flow 2026-06-24 19:24:46 -03:00
waozi cfd92e587a update sun salutation 2026-06-24 19:09:56 -03:00
waozi e6aa9b1d84 Use Flint modal capture throughout Inbe 2026-06-24 19:09:06 -03:00
waozi e625044648 Update vendor/flint submodule to modal capture release 2026-06-24 18:59:51 -03:00
waozi f28daf7668 fix modal bug 2026-06-23 17:58:29 -03:00
waozi cddac728b1 fix bug 2026-06-23 14:25:11 -03:00
waozi cc92f494e3 add missing locales 2026-06-23 13:33:26 -03:00
waozi fd3d10521a udpate appimage build 2026-06-23 13:14:27 -03:00
waozi 351c1334c6 improve settings tehem 2026-06-23 11:52:07 -03:00
waozi 414a6ea198 move flint back to submodule 2026-06-22 21:46:54 -03:00
waozi aebb706eac update screenshot script 2026-06-22 14:07:51 -03:00
waozi 3ff584355c rm snap from gh actions 2026-06-22 12:52:54 -03:00
waozi 4d7538f46e update workflow 2026-06-22 12:43:14 -03:00
waozi b5d1fa617a update locales 2026-06-22 12:29:59 -03:00
waozi c700c5a616 fix logo 2026-06-22 11:51:04 -03:00
waozi 285a93fa58 fix image scaling 2026-06-22 11:39:33 -03:00
waozi 92777d5425 fix dropdown mode 2026-06-22 01:46:10 -03:00
waozi 05170a2846 hardn sql 2026-06-22 04:37:31 +00:00
waozi c34ad06050 fix last write wins 2026-06-22 04:35:18 +00:00
waozi 3cef21ab54 update wpa icons 2026-06-22 04:25:19 +00:00
waozi 1b0a50e248 simplify account model 2026-06-22 01:10:05 -03:00
waozi a6616d3cb2 bug fixes 2026-06-22 00:40:29 -03:00
waozi 0cf6f436e1 fi xstorage 2026-06-22 00:27:14 -03:00
waozi 06358b5bfb update icons 2026-06-22 00:13:14 -03:00
waozi 201dced542 update logos 2026-06-21 23:43:39 -03:00
waozi c580bc28ed tab bar 2026-06-21 20:37:40 -03:00
waozi 7b0ecd1e13 cleaner first user guide 2026-06-21 17:17:07 -03:00
waozi 53fdc50827 update version 2026-06-21 12:52:33 -03:00
waozi 0fb6e98993 fix orientation issues 2026-06-21 12:52:12 -03:00
waozi 2a95e1652f fix rotation bug 2026-06-21 12:43:00 -03:00
waozi 9a04b9893b improve avd script 2026-06-21 12:36:51 -03:00
waozi 4b093aef18 more cleanup and guided habits tetx 2026-06-21 12:00:35 -03:00
waozi 9f0a136689 clean up code 2026-06-21 11:41:16 -03:00
waozi 78507b44eb add skip feature in guide 2026-06-21 11:22:33 -03:00
waozi 7b7fb07717 fix padding issues 2026-06-21 01:59:07 -03:00
waozi 0f34ddc97d bug fixes 2026-06-21 01:46:41 -03:00
waozi c679b11b73 improve github action caching 2026-06-21 01:28:57 -03:00
waozi 82ccb092c2 improve edit icon 2026-06-21 01:16:41 -03:00
waozi 8bbbfe0be0 add new first time user guid 2026-06-21 01:08:35 -03:00
waozi ee89a9623a add basic transit]ion between screens 2026-06-21 00:22:03 -03:00
waozi df91739754 fix new hhabit creation 2026-06-21 00:01:55 -03:00
waozi 5fadbcacea improve workflow 2026-06-20 23:49:08 -03:00
waozi c0912d29f0 rm click 2026-06-20 23:35:31 -03:00
waozi a6648a51d1 fix ci 2026-06-20 19:52:44 -03:00
waozi 37cee8b105 ui improvements 2026-06-20 19:38:14 -03:00
waozi c766b84796 improve edit habit 2026-06-20 19:03:04 -03:00
waozi 663ad10fba refactor and bug fixes 2026-06-20 18:34:58 -03:00
waozi 1072d38690 sidebar + bottom nav 2026-06-20 18:18:27 -03:00
waozi fd1ac9403b add version 2026-06-20 16:24:56 -03:00
waozi 43286f23c9 fix line wrap 2026-06-20 16:20:47 -03:00
waozi c2f63faee6 fix locales 2026-06-20 16:09:34 -03:00
waozi 081357578b update screenshots 2026-06-20 14:43:58 -03:00
waozi a047d036f3 polish 2026-06-20 14:04:54 -03:00
waozi cdd14267f2 better abstractions 2026-06-20 11:24:25 -03:00
waozi 6ab4bd6e61 refactor 2026-06-20 10:48:11 -03:00
waozi 376c2ee40b split storage file 2026-06-20 10:31:34 -03:00
waozi 779699ac43 improve breath button positioning 2026-06-20 03:41:33 -03:00
waozi ce01d33aac improve meta and add .click 2026-06-20 03:31:01 -03:00
waozi 807aa54166 fix makefile 2026-06-20 00:49:19 -03:00
waozi 96de9c2492 update version 2026-06-20 00:38:47 -03:00
waozi 117e75c158 fix dropdown bug 2026-06-20 00:25:18 -03:00
waozi 8f556fd5a5 new release 2026-06-20 00:15:18 -03:00
waozi 2807328b00 implement proper sync 2026-06-19 23:46:29 -03:00
waozi 77c4078b9f code cleanup 2026-06-19 22:34:50 -03:00
waozi ed4f1f4d82 fix sync 2026-06-19 22:28:10 -03:00
waozi 41aab988cb consolidate sync logic 2026-06-19 20:17:22 -03:00
waozi 04c8ea1e82 bug fixes on web 2026-06-19 14:43:41 -03:00
waozi ef325ed4af improve account management 2026-06-19 14:20:17 -03:00
waozi 0ce5f1ecd5 improve account maangement 2026-06-19 14:19:52 -03:00
waozi 57a93fb1a2 fix icon row 2026-06-19 13:18:26 -03:00
waozi 3fac68a0c5 ui improvements 2026-06-19 13:15:21 -03:00
waozi 194c98327e implement habit conutr 2026-06-19 13:05:40 -03:00
waozi 1ece2a38f4 simplify tutorial 2026-06-19 11:49:43 -03:00
waozi 8d5fa97bc4 add sync settings 2026-06-19 11:13:30 -03:00
waozi f5488096d4 refactor and add private id generation 2026-06-19 01:59:20 -03:00
waozi 200be33406 improve file dialog 2026-06-19 00:00:41 -03:00
waozi c83544e512 fix tickmate import 2026-06-18 18:32:52 -03:00
waozi 26b3845a01 improved android data import for .db 2026-06-18 17:27:23 -03:00
waozi 6928984362 allow import db files 2026-06-18 17:09:50 -03:00
waozi bebdbbbd38 reduce apk mess 2026-06-18 11:56:47 -03:00
waozi f5e643b096 fix gituhb action 2026-06-18 11:45:56 -03:00
waozi 513c2822ae Build release artifacts without Nix 2026-06-18 11:04:08 -03:00
waozi 7170bdef0b Run CI tests without Nix 2026-06-18 02:33:08 -03:00
waozi 75e01ce333 split up workflows 2026-06-18 01:59:50 -03:00
waozi 92dc51e7a8 improve github action 2026-06-18 01:54:01 -03:00
waozi a8c3ec5166 improve github actino 2026-06-18 01:44:45 -03:00
waozi bd42b9f151 fix audio linux 2026-06-18 01:30:30 -03:00
waozi 22e7a9eafc multi platform build on gh 2026-06-18 01:18:48 -03:00
waozi 4b90c5a079 refactor practices 2026-06-18 01:11:15 -03:00
waozi 9f08f2ad4b cleanup and refactor 2026-06-17 23:12:37 -03:00
waozi e9e2862b13 fix improt web 2026-06-17 19:32:00 -03:00
waozi d50369a777 update version 2026-06-17 18:50:36 -03:00
waozi 896b122c9f improve and fix improt 2026-06-17 18:50:24 -03:00
waozi 5feb0c44fe fix issues with runtime assets 2026-06-17 16:43:48 -03:00
waozi 95b6553a6f fix no of assets 2026-06-17 16:33:01 -03:00
waozi c4d2a92448 bug fixes 2026-06-17 16:30:25 -03:00
waozi 61bd0a9ea4 fix appimage 2026-06-17 15:36:27 -03:00
waozi 89de246311 fix merge import 2026-06-17 13:47:05 -03:00
waozi c169a4c6ad fix orientation change 2026-06-17 13:37:38 -03:00
waozi 861ca9ad2e bug fixes 2026-06-17 13:21:00 -03:00
waozi cda90a0617 improve weelky view and dropdowns 2026-06-17 11:46:23 -03:00
waozi 9d49f9ce57 fix improt issues and add packaging for appimages 2026-06-17 11:18:21 -03:00
waozi 30fc4584c3 fix font issues mobile 2026-06-17 09:43:41 -03:00
waozi cf593bf554 fix clipping 2026-06-17 09:04:07 -03:00
waozi c0f2939c9f bug fixes, otf chop for 8px 2026-06-17 01:19:52 -03:00
waozi ea800cd672 improve settings page 2026-06-16 23:10:41 -03:00
waozi 76ea43832c improve settings page 2026-06-16 23:04:59 -03:00
waozi c50d857cba refactor code base 2026-06-16 22:46:15 -03:00
waozi 09c87a8d9a better tracker managemnt and practice screenr 2026-06-16 22:27:04 -03:00
waozi ea8604392b refactor tracker and themes 2026-06-16 16:18:45 -03:00
waozi c02d6ae02a refactor to habits screen 2026-06-16 15:17:06 -03:00
waozi 12637cc7ef refactor 2026-06-16 11:01:22 -03:00
waozi f4c753b2f4 cleaner icon loading 2026-06-16 00:35:29 -03:00
waozi 9a231007f1 more cleanup 2026-06-14 14:46:27 -03:00
waozi 1ad4e8ee78 unify icon system 2026-06-14 14:35:54 -03:00
waozi ed1993bff8 simplify play butotn 2026-06-14 12:45:01 -03:00
waozi 7ff89fd78b cleanup and fixes 2026-06-14 11:40:56 -03:00
waozi 801f49d470 cleanup 2026-06-14 01:05:09 -03:00
waozi 7bf9c1859d cleanup theme usage 2026-06-14 00:49:25 -03:00
waozi 689d08eefa cleanup and add tests 2026-06-13 23:31:30 -03:00
waozi 60eb87f5f1 add changelog 2026-06-13 21:47:21 -03:00
waozi 784d14ac2e improve file browser 2026-06-13 21:43:41 -03:00
waozi 4db5c1dcf7 better data management 2026-06-13 21:11:44 -03:00
waozi 4eb7b5f19b merge with flint 2026-06-13 21:11:30 -03:00
waozi b07aeced88 add round label 2026-06-12 23:01:59 -03:00
waozi 8eb52b6515 Update Flint web dist packaging 2026-06-12 21:49:08 -03:00
waozi 1d219ca706 use latset flint 2026-06-12 11:33:50 -03:00
waozi 6f6b7a09e1 fix workflow 2026-06-12 10:34:36 -03:00
waozi c39d54b42a fix make 2026-06-12 10:25:56 -03:00
waozi 4a83138cb7 update version 2026-06-12 09:58:40 -03:00
waozi 0fbd274f4d cleanup 2026-06-12 09:56:44 -03:00
waozi 1f21d4d3af clean flint version 2026-06-12 00:42:22 -03:00
waozi d92c06a0b4 flint cli fully working 2026-06-12 00:11:22 -03:00
waozi e416d9419a use flint for cross building 2026-06-12 00:07:56 -03:00
waozi 5157746aca clean windows build 2026-06-11 23:45:54 -03:00
waozi 4993ad48e4 Embed runtime assets in desktop builds 2026-06-11 22:20:24 -03:00
waozi efd8de98cd upload all versions on itch 2026-06-11 16:48:08 -03:00
waozi a5729306ae update version 2026-06-11 13:06:54 -03:00
waozi d6373dab29 bug fixes and improve setting management 2026-06-11 13:03:51 -03:00
waozi 91a250a9be fix versioning 2026-06-10 08:41:39 -03:00
waozi 22d2b0916d fix history page 2026-06-10 08:38:18 -03:00
waozi 6a1d83f8f8 simplify scripts 2026-06-10 00:22:12 -03:00
816 changed files with 103233 additions and 25858 deletions

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
# Copy to .env.play when you want to upload screenshots.
# 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
PLAY_LANGUAGE=en-US
PLAY_METADATA_IMAGES_DIR=fastlane/metadata/android/en-US/images
PLAY_IMAGE_TYPES=phoneScreenshots,sevenInchScreenshots,tenInchScreenshots
PLAY_DELETE_EXISTING=1
# Default is validate-only and discards the draft edit.
# Set to 1 only when you want the uploaded screenshots committed to Play.
PLAY_COMMIT=0
+2
View File
@@ -0,0 +1,2 @@
unpackaged_assets/**/*.ogg filter=lfs diff=lfs merge=lfs -text
test-fixtures/audio/*.mp3 filter=lfs diff=lfs merge=lfs -text
+4
View File
@@ -0,0 +1,4 @@
#!/bin/sh
set -eu
scripts/check-secrets.py --staged
+17
View File
@@ -0,0 +1,17 @@
#!/bin/sh
set -eu
tmp=$(mktemp "${TMPDIR:-/tmp}/inbe-pre-push.XXXXXX")
trap 'rm -f "$tmp"' EXIT
cat > "$tmp"
if command -v git-lfs >/dev/null 2>&1; then
git lfs pre-push "$@" < "$tmp"
elif git lfs version >/dev/null 2>&1; then
git lfs pre-push "$@" < "$tmp"
else
printf '%s\n' "This repository uses Git LFS, but git-lfs is not available." >&2
exit 2
fi
scripts/check-secrets.py --pre-push "$@" < "$tmp"
+1
View File
@@ -0,0 +1 @@
+28
View File
@@ -0,0 +1,28 @@
build-essential
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
libgtk-3-dev
libx11-6
libx11-dev
libxext6
libsdl2-2.0-0
libsdl2-dev
patchelf
pkg-config
podman
rpm
x11-utils
xvfb
zip
+3
View File
@@ -0,0 +1,3 @@
build-essential
ripgrep
zlib1g-dev
+4
View File
@@ -0,0 +1,4 @@
build-essential
zlib1g-dev
zip
tcl
+6
View File
@@ -0,0 +1,6 @@
build-essential
gcc-mingw-w64-i686-win32
gcc-mingw-w64-x86-64-win32
zlib1g-dev
zip
nsis
+79
View File
@@ -0,0 +1,79 @@
#!/usr/bin/env bash
set -euo pipefail
if [ "$#" -lt 1 ]; then
echo "usage: $0 PACKAGE_FILE [EXTRA_PACKAGE ...]" >&2
exit 2
fi
package_file="$1"
shift
if [ ! -f "$package_file" ]; then
echo "package file not found: $package_file" >&2
exit 2
fi
APT_CACHE_DIR="${APT_CACHE_DIR:-/tmp/apt-cache}"
apt_arch="$(dpkg --print-architecture)"
ubuntu_archive="https://archive.ubuntu.com/ubuntu"
if [ "$apt_arch" = "arm64" ]; then
ubuntu_archive="http://ports.ubuntu.com/ubuntu-ports"
fi
codename="$(
. /etc/os-release
printf '%s' "${VERSION_CODENAME:-jammy}"
)"
# GitHub-hosted Ubuntu runners sometimes use an Azure mirrorlist that stalls.
# Pin Ubuntu packages to the canonical archive before running apt. arm64
# packages live on ports.ubuntu.com, not archive.ubuntu.com.
if [ -f /etc/apt/apt-mirrors.txt ]; then
printf '%s\n' "$ubuntu_archive" | sudo tee /etc/apt/apt-mirrors.txt >/dev/null
fi
while IFS= read -r -d '' source_file; do
sudo sed -i \
-e "s|mirror+file:/etc/apt/apt-mirrors.txt|$ubuntu_archive|g" \
-e "s|http://azure.archive.ubuntu.com/ubuntu|$ubuntu_archive|g" \
-e "s|https://azure.archive.ubuntu.com/ubuntu|$ubuntu_archive|g" \
-e "s|http://archive.ubuntu.com/ubuntu|$ubuntu_archive|g" \
-e "s|https://archive.ubuntu.com/ubuntu|$ubuntu_archive|g" \
-e "s|http://ports.ubuntu.com/ubuntu-ports|$ubuntu_archive|g" \
-e "s|https://ports.ubuntu.com/ubuntu-ports|$ubuntu_archive|g" \
"$source_file"
done < <(find /etc/apt -type f \( -name '*.list' -o -name '*.sources' \) -print0)
sudo tee /etc/apt/sources.list.d/ubuntu.sources >/dev/null <<EOF
Types: deb
URIs: $ubuntu_archive
Suites: $codename ${codename}-updates ${codename}-backports ${codename}-security
Components: main restricted universe multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
EOF
mapfile -t raw_packages < "$package_file"
packages=()
for package in "${raw_packages[@]}" "$@"; do
if [ -z "$package" ] || [[ "$package" == \#* ]]; then
continue
fi
packages+=("$package")
done
mkdir -p "$APT_CACHE_DIR/partial"
sudo rm -rf /var/lib/apt/lists/*
sudo apt-get \
-o Acquire::Retries=3 \
-o Acquire::http::Timeout=20 \
-o Acquire::https::Timeout=20 \
update
if [ "${#packages[@]}" -gt 0 ]; then
sudo apt-get \
-o Acquire::Retries=3 \
-o Acquire::http::Timeout=20 \
-o Acquire::https::Timeout=20 \
-o Dir::Cache::archives="$APT_CACHE_DIR" \
install -y "${packages[@]}"
fi
sudo chown -R "$USER:$USER" "$APT_CACHE_DIR"
-103
View File
@@ -1,103 +0,0 @@
name: Android Build
on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch:
permissions:
contents: write
jobs:
release:
name: Build Release APK
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- 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: Grant execute permission for gradlew
run: chmod +x droid/gradlew
- name: Create keystore directory
run: mkdir -p ~/.android
- name: Decode Keystore
env:
KEYSTORE_BASE64: ${{ secrets.KEYSTORE_BASE64 }}
run: |
echo "$KEYSTORE_BASE64" | base64 -d > ~/.android/inbe-release.keystore
echo "Keystore decoded successfully"
- name: Copy Assets to Android Project
run: ./scripts/copy-android-assets.sh
- name: Build Release APK
working-directory: ./droid
env:
KEYSTORE_PASSWORD: ${{ secrets.KEYSTORE_PASSWORD }}
KEY_ALIAS: ${{ secrets.KEY_ALIAS }}
KEY_PASSWORD: ${{ secrets.KEY_PASSWORD }}
run: |
./gradlew assembleRelease \
-Pkeystore.password="$KEYSTORE_PASSWORD" \
-Pkeystore.path="/home/runner/.android/inbe-release.keystore" \
--stacktrace
- name: Rename APK
run: |
VERSION=$(grep "versionName" droid/app/build.gradle | awk '{print $2}' | tr -d '"')
find droid/app/build/outputs/apk/release -name "*-universal-release.apk" -exec cp {} inbe-$VERSION.apk \; 2>/dev/null || true
- name: Upload APK to Artifacts
uses: actions/upload-artifact@v4
with:
name: release-apk
path: inbe-*.apk
if-no-files-found: warn
- name: Create and Push Tag (if new version)
id: tag_version
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
run: |
VERSION=$(grep "versionName" droid/app/build.gradle | awk '{print $2}' | tr -d '"')
TAG="v$VERSION"
if git rev-parse "$TAG" >/dev/null 2>&1; then
echo "Tag $TAG exists, skipping"
echo "tag_pushed=false" >> $GITHUB_OUTPUT
else
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git tag -a "$TAG" -m "Release $VERSION"
git push origin "$TAG"
echo "tag_pushed=true" >> $GITHUB_OUTPUT
echo "tag_name=$TAG" >> $GITHUB_OUTPUT
fi
- name: Create GitHub Release
if: steps.tag_version.outputs.tag_pushed == 'true'
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ steps.tag_version.outputs.tag_name }}
files: inbe-*.apk
generate_release_notes: true
draft: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+262
View File
@@ -0,0 +1,262 @@
name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
secret-scan:
name: Secret Scan
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- 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
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
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"
exit 1
fi
echo "all submodule URLs HTTPS - ok"
test:
name: Test
runs-on: ubuntu-latest
needs:
- guard-submodule-urls
- secret-scan
timeout-minutes: 60
env:
APT_CACHE_DIR: /tmp/apt-cache
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 1
lfs: true
- name: Set up Node.js for Bend proofs
uses: actions/setup-node@v4
with:
node-version: 22
- name: Cache Test apt packages
uses: actions/cache@v4
with:
path: ${{ env.APT_CACHE_DIR }}
key: test-apt-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('.github/apt/test-packages.txt') }}
restore-keys: |
test-apt-${{ runner.os }}-${{ runner.arch }}-
- name: Install Test Dependencies
timeout-minutes: 15
run: .github/scripts/install-apt-packages.sh .github/apt/test-packages.txt
- name: Run Tests
run: make test
- name: Check out sync test server
uses: actions/checkout@v4
with:
repository: kryonlabs/daochi
ref: 51902c57c537724cf4c083227f5da6c50e24ba39
path: .test-server
submodules: recursive
- name: Set up Go for sync test server
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
run: |
make -C .test-server build
make sync-server-test DAOCHI_BIN="$GITHUB_WORKSPACE/.test-server/daochi"
build-chrome-extension:
name: Build Chrome Extension
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: Set up Node.js for Bend proofs
uses: actions/setup-node@v4
with:
node-version: 22
- 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 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 "INBE_NODE_BIN=$(dirname "$(command -v node)")" >> "$GITHUB_ENV"
echo "$HOME/emsdk/upstream/emscripten" >> "$GITHUB_PATH"
- name: Build Chrome Extension ZIP
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
export PATH="$INBE_NODE_BIN:$PATH"
make web-smoke-test
- name: Run Canvas Web Smoke Test
run: |
set -euo pipefail
export PATH="$INBE_NODE_BIN:$PATH"
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: Set up Node.js for Bend proofs
uses: actions/setup-node@v4
with:
node-version: 22
- 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 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 "INBE_NODE_BIN=$(dirname "$(command -v node)")" >> "$GITHUB_ENV"
echo "$HOME/emsdk/upstream/emscripten" >> "$GITHUB_PATH"
- name: Build Firefox Add-on ZIP
run: |
set -euo pipefail
export PATH="$INBE_NODE_BIN:$PATH"
node --version
make package-unpackaged-assets
make firefox-addons
test -f build/dist/inbe-firefox-addons.zip
make firefox-addons-lint
- name: Install Firefox (Mozilla build)
timeout-minutes: 15
run: |
set -euo pipefail
.github/scripts/install-apt-packages.sh .github/apt/empty-packages.txt \
xvfb libgl1-mesa-dri libgl1 libegl1 mesa-utils || true
.github/scripts/install-apt-packages.sh .github/apt/empty-packages.txt \
libgtk-3-0t64 libx11-xcb1 libxcb-shm0 libasound2t64 libdbus-glib-1-2 \
libxt6t64 libxtst6 libpci3 || \
.github/scripts/install-apt-packages.sh .github/apt/empty-packages.txt \
libgtk-3-0 libx11-xcb1 libxcb-shm0 libasound2 libdbus-glib-1-2 libxt6 libxtst6 libpci3
curl -sL "https://download.mozilla.org/?product=firefox-latest&os=linux64&lang=en-US" \
-o "$HOME/firefox.tar.xz"
tar -xJf "$HOME/firefox.tar.xz" -C "$HOME"
test -x "$HOME/firefox/firefox"
echo "$HOME/firefox" >> "$GITHUB_PATH"
- name: Run Web Smoke Test (Firefox)
env:
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
+148
View File
@@ -0,0 +1,148 @@
name: Cloudflare Pages
on:
workflow_run:
workflows:
- Release
types:
- completed
branches:
- master
pull_request:
workflow_dispatch:
inputs:
released_web:
description: Use the published web app for a website-only update
type: boolean
default: false
permissions:
contents: read
concurrency:
group: pages-${{ github.event.workflow_run.head_branch || github.ref }}
cancel-in-progress: true
jobs:
build:
name: Build Site
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: Set up Node.js for the web build
uses: actions/setup-node@v4
with:
node-version: 22
- name: Install Packages
if: ${{ !inputs.released_web }}
timeout-minutes: 15
run: .github/scripts/install-apt-packages.sh .github/apt/web-packages.txt
- name: Set Up Emscripten
if: ${{ !inputs.released_web }}
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 "INBE_NODE_BIN=$(dirname "$(command -v node)")" >> "$GITHUB_ENV"
echo "$HOME/emsdk/upstream/emscripten" >> "$GITHUB_PATH"
- name: Download Released Web App
if: ${{ inputs.released_web }}
env:
GH_TOKEN: ${{ github.token }}
run: |
set -euo pipefail
version=$(sed -n 's/^#define APP_VERSION_STRING "\([^"]*\)"/\1/p' src/core/version.h)
test -n "$version"
mkdir -p build/released-web build/dist/web
gh release download "v$version" --pattern inbe-web.zip --dir build/released-web
unzip -q build/released-web/inbe-web.zip -d build/dist/web
test -s build/dist/web/index.wasm
- name: Build Site
run: |
set -euo pipefail
if [ "$RELEASED_WEB" = "true" ]; then
make package-unpackaged-assets
sh site/build.sh
else
export PATH="$INBE_NODE_BIN:$PATH"
node --version
make site
fi
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
env:
GH_TOKEN: ${{ github.token }}
RELEASED_WEB: ${{ inputs.released_web }}
- 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
+115
View File
@@ -0,0 +1,115 @@
name: Publish OpenStore
on:
workflow_dispatch:
inputs:
changelog:
description: Changelog text for the OpenStore revision
required: false
default: ""
channel:
description: OpenStore channel
required: false
default: focal
release:
types: [published]
push:
tags:
- "v*"
permissions:
contents: read
jobs:
publish:
runs-on: ubuntu-latest
timeout-minutes: 90
env:
OPENSTORE_API_KEY: ${{ secrets.OPENSTORE_API_KEY }}
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: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
lfs: true
- name: Scan Tracked Files and History
run: |
set -euo pipefail
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
# Absolute paths: CMake cross builds do not resolve bare tool names
# (CMAKE_AR=aarch64-linux-gnu-ar ends up NOTFOUND and the liboqs
# archive step fails with "No such file or directory").
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 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
- name: Show package contents
run: |
set -euo pipefail
click_file="$(ls -t build/dist/click/*.click | head -1)"
echo "Built $click_file"
dpkg-deb --contents "$click_file" | grep -E 'manifest.json|inbe.png|metainfo|inbe.desktop'
- name: Publish to OpenStore
run: |
set -euo pipefail
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
+19
View File
@@ -8,16 +8,26 @@
.claude/
.local/
.codex/
.zcode
.agents/
.kryon-ide-state
.cache/
.ccache
*.wasm
build/
tmp/
vendor-builds/
node_modules
*.nix-defexpr
*.npm
*.nix-profile
.claude.json
.bash_history
.env
.env.play
.secrets/
social-posts.local.json
/inbe.log
*.exe
@@ -26,6 +36,9 @@ node_modules
/main
!droid/app/src/main
droid/app/src/main/assets
droid/app/src/gplay/google-services.json
droid/*.apk
droid/*.aab
.direnv/
.node-repl-history
@@ -45,9 +58,15 @@ Captures/
Thumbs.db
*.bak
*.swp
*.core
local.properties
*.o
*.9
*.8
*.a
__pycache__/
*.py[cod]
/pro/
.kotlin/
+6 -9
View File
@@ -1,12 +1,9 @@
[submodule "vendor/raylib"]
path = vendor/raylib
url = https://github.com/raysan5/raylib.git
[submodule "vendor/rini"]
path = vendor/rini
url = https://github.com/raysan5/rini.git
[submodule "vendor/flint"]
path = vendor/flint
url = https://github.com/waozixyz/flint
[submodule "vendor/otfchop"]
path = vendor/otfchop
url = https://github.com/waozixyz/otfchop
[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
+59
View File
@@ -0,0 +1,59 @@
# Inbe repository rules
## Ownership and releases
- Never edit `vendor/`. Change Kryon in its upstream repository on `master`,
commit and push there, then update only Inbe's clean submodule pointer.
Run `make no-vendor-edits` after dependency changes.
- Add the numeric release to `CHANGELOG.md`, 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.
- Translate changed strings in every affected locale; no English placeholders.
## 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 or hand-edit generated policy tables.
- Retry behavior lives in `laws/sync_retry/main.bend`. Implement changes there
and prove `LAWS.bend` in `PROOF.bend`; the app consumes the checked table.
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-plan.md](docs/build-laws-plan.md).
## Public UI and sync boundaries
- Use `Text(TextProps)`, `Image(ImageProps)`, and `Button(ButtonProps)` directly.
Semantic images use the same `Image` surface. No positional Text, legacy
drawing calls, alternate widgets, or thin local forwarding wrappers.
Keep meaningful compositions and gestures; use standard Checkbox and Toggle.
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.
Keep legacy wire strings only for migration. Migrations must be automatic,
resumable, and non-destructive, preserving tombstones and legacy projections
while supported older installations can return.
## 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`.
## Bend
When using Bend:
- run `bend guide` to learn it
- use `LAWS.bend` to keep important rules
- run `bend PROOF.bend` before committing
- parallelize the code whenever possible
+735
View File
@@ -1,4 +1,739 @@
# Changelog
## [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.
### Changed
- Navigation and practice controls now use larger, clearer icons.
- Volume controls now show distinct muted, low, medium, and maximum-volume states.
- Updated the bundled Kryon runtime with smoother antialiasing, tear-free presentation, improved text editing, and more reliable desktop menus.
### Fixed
- Pressing Escape now closes stack/sidebar navigation before applying the normal screen-level Escape action.
- Fixed a Windows build collision between Kryon and the Win32 `DrawIcon` API.
## [1.9.18] - 2026-09-04
### Added
- Every practice now includes a guided How-to with clear steps, swipe navigation, and labeled controls.
### Changed
- The Wim Hof guide now uses four focused pages with a prominent safety warning, breathing previews, progress indicators, and direct access to practice settings.
- How-to controls now provide consistent hover, focus, keyboard, and touch feedback across supported devices.
### Fixed
- Exiting a practice started from How-to now returns to the normal Practice screen instead of reopening the guide.
- On Windows, the title-bar close button and Alt+F4 now honor the selected close behavior, including showing the Keep running or Quit prompt.
## [1.9.17] - 2026-08-30
### Changed
- Web habit check-ins now update more smoothly, reducing the visible flash when changing a habit.
### Fixed
- Web screen navigation now keeps stable browser routes, so opening or returning to a screen uses the expected address.
- Language selection and onboarding settings now persist reliably before returning to the main screen.
- Stack sidebar navigation no longer shows a stray black line or overflows at the bottom.
## [1.9.16] - 2026-08-29
### Changed
- Sync now speaks Ksync protocol v5 compatibility mode while keeping existing secure synced data usable.
### Fixed
- Fixed web sync key import stability in Firefox.
## [1.9.15] - 2026-08-29
### Fixed
- Fixed a web startup stability issue that could affect browser smoke checks after reload.
## [1.9.14] - 2026-08-29
### Changed
- Updated the bundled Kryon runtime to the latest release for improved web runtime compatibility.
## [1.9.13] - 2026-08-29
### Changed
- Sync now uses the protocol v4 secure data format when the account has been migrated, while keeping the transition path compatible with existing synced data.
### Fixed
- Secure data migration now appears only for connected accounts that still need migration, and shows progress while the update is running.
- Sync migration no longer leaves stale queued changes after all local data has been uploaded in the secure format.
- Profile and sync account text can be selected by double-clicking.
- Desktop startup no longer fails when the single-instance lock is unavailable.
- Android landscape layouts now respect system bars and display cutouts.
- Android releases now include the expected per-ABI APK downloads alongside the universal APK.
## [1.9.12] - 2026-08-28
### Changed
- Web builds now use the Canvas renderer directly, so browsers without WebGL no longer need a fallback path.
- Sync account IDs now display in a compact first-four/last-four format in profile and sync settings.
### Fixed
- Importing a sync key now connects the account automatically once the key is accepted.
- Background sync no longer blocks or interrupts starting a practice.
- Start Practice now remains responsive while sync is running in the background.
- Profile and sync account text can be selected reliably with double-click and drag selection.
- Web console output is quieter during normal startup and sync.
- Android UI scaling now uses the best detected device scale, fixing undersized menu text on tall phones.
## [1.9.11] - 2026-08-28
### Changed
- Practice screens now show only the practices that are currently available.
- Desktop tray status now shows the active practice and phase in the tooltip where supported, and in the tray menu as a reliable fallback.
### Fixed
- Sync now runs only after an account is connected to a saved sync server.
- Existing synced accounts keep their connected state after upgrading, while disconnected accounts no longer start background sync, social refreshes or websocket listeners.
- Profile Data now distinguishes disconnected sync accounts from missing accounts.
- Android practice notifications now keep showing the current phase and timer while a practice is running.
## [1.9.10] - 2026-08-25
### Added
- Completed practices now show a results screen with session details and a mood check-in before returning home.
- Statistics now include mood-after-practice trends for saved sessions.
### Fixed
- Android bottom navigation icons now render correctly on affected devices instead of disappearing or being clipped.
- Android no longer opens the soft keyboard when the app starts.
## [1.9.9] - 2026-08-22
### Fixed
- The practice screen now always shows all four practices: Wim Hof, Pattern Breathing, Meditation and Sun Salutation.
- Android installs now fail with clear device, ABI and signing diagnostics instead of stalling or choosing the wrong target silently.
- Pattern Breathing now plays the inhale and exhale cues in the correct direction.
- Pattern Breathing keeps the phase text readable against bright breathing circles and shows the cycle and session timer at the top of the session screen.
## [1.9.8] - 2026-08-21
### Added
- Desktop break reminders now include a Habits action beside the practice launch buttons, so habits can be managed directly from a break window.
### Changed
- Store screenshots now focus on Android-relevant practice and habit screens, including Pattern Breathing, Meditation, Sun Salutation and multiple Material color themes.
- Fastlane screenshot exports now use compressed PNG files consistently for Google Play and F-Droid metadata.
- Regenerated Google Play and F-Droid screenshots with the corrected practice artwork, Pattern Breathing, Habits, Wim Hof how-to and Cobalt dark screens.
### Fixed
- Screenshot scene setup now opens the intended Habits overview, Habits statistics, Meditation and Sun Salutation screens.
- Native screenshot capture now exits cleanly and writes valid PNG rows for downstream image tooling.
- Practice banner images now resolve from the embedded asset table on Android/native builds, preventing missing or faded-looking artwork in packaged releases.
- Donation wallet buttons now open Bitcoin and Monero URI intents through Kryon and show a clear toast when no wallet app is installed.
- Monero and Bitcoin donation links now use minimal address-plus-amount wallet URIs for better compatibility with Cake Wallet and other wallet apps.
- Web and browser-extension builds are available again after fixing secure donation-link handling.
## [1.9.7] - 2026-08-20
### Added
- Pattern Breathing is now available wherever practice-specific options are shown, including the leaderboard, habits and music assignment.
- Every practice can now have background music assigned directly from its practice settings.
### Changed
- Audio settings now use one music import action and show the practices that already have music assigned.
- Practices are ordered consistently as Wim Hof, Pattern Breathing, Meditation and Sun Salutation.
- Practice banners now follow the active visual style, sit cleanly inside their rounded borders and keep a small bottom gap from the controls below.
### Fixed
- Leaderboard filtering keeps showing the last loaded rows while fresh data loads, instead of replacing the table with a loading placeholder.
- Breathing-pattern leaderboards now keep the full friends list visible instead of collapsing to only the current user.
- Leaderboard streak ties now use the secondary stat when one exists, such as average hold for Wim Hof.
- Music download, install and playback-test status messages are now translated.
## [1.9.6] - 2026-08-19
### Changed
- Donation reminders now wait until 30 completed practices, repeat only after another 30 practices, and offer Donate, Skip, or Dismiss forever without a separate remind-later option.
### Fixed
- Web builds now fall back to the Canvas renderer automatically when WebGL is unavailable, instead of stopping on a WebGL-disabled message.
- Canvas hover cursors now update consistently while using the Canvas renderer.
- Break reminders and break settings stay desktop-only and no longer appear in the Web settings sidebar.
- Desktop break timer windows now stay visible when switching workspaces.
## [1.9.5] - 2026-08-19
### Added
- Desktop update notifications: the app checks once a day for a new release and shows a toast plus a row in Settings → About. AppImage and Windows users can download and install the update from there — the download is checksum-verified and, with one click on "Restart to update", replaces the app in place. Linux package, Snap and Flatpak installs are left to the system's own updater, and AppImage builds now also carry AppImageUpdate delta-update information.
- Windows releases now also ship a classic installer (inbe-windows-setup) beside the portable zip, and a winget manifest is submitted on each release, so Windows 10/11 users can install and auto-update Inner Breeze through winget.
- A gentle monthly donation reminder can now be postponed, skipped for the month, dismissed forever, or opened directly in a wallet on native builds.
## [1.9.4] - 2026-08-17
### Fixed
- Desktop break, timer and other auxiliary windows now render upright and stay visually in sync when more than one window is open.
## [1.9.3] - 2026-08-17
### Added
- Custom MP3 music can be imported and selected independently for Wim Hof, Meditation and Sun Salutation practices.
### Changed
- Running sessions now provide separate top-left controls for sound effects and background-music volume.
### Fixed
- Custom MP3 tracks now decode and play during Wim Hof sessions, including after restarting the app; previewing music no longer starts a practice.
- Music download failures now offer clear Cancel and Retry actions instead of ambiguous buttons.
- Daily break progress and skipped state persist across app restarts and reset only at the configured daily boundary.
## [1.9.2] - 2026-08-17
### Added
- Breathing Patterns with Box, 4-7-8, coherent, extended-exhale and custom timed breathing sessions.
- Android Health Connect export for meditation, breathwork and sun-salutation sessions.
- Android home-screen widget, quick-settings tile and launcher shortcuts for starting practices.
- Interval bells for meditation: chime every 1/2/5/10/15/30 minutes (off by default).
- Weekday schedules and reminder times for habits, with support for up to 32 habits.
- CSV export of session history from Data & export settings.
- Practices can be started directly from a break and count as taking that break.
### Changed
- Profile now uses clear top-level tabs for profile details, sync, data, friends and leaderboard.
- Leaderboard shows all useful statistics together in one sortable table; average hold appears only for Wim Hof sessions.
- The default Meditation habit now tracks sessions from Wim Hof, Meditation and Breathing Patterns.
- Breathing Patterns has a cleaner layout, smoother animation and keeps running when the app loses focus.
- Refreshed the Breathing Patterns and Meditation artwork while retaining the original Wim Hof banner.
- Simplified the Meditation screen and removed the redundant how-to section.
### Fixed
- Profile and leaderboard loading states no longer display misleading zero values while data is loading.
- Fixed delayed or stale leaderboard results, duplicate Wim Hof entries and unreadable selected-button text.
- Fixed profile name display, text-field focus styling and profile picture icon colors.
- Fixed a corrupted notification-icon context menu and removed redundant tray and Practice-screen Show controls.
## [1.9.1] - 2026-08-16
### Added
- Breaks render in their own centered always-on-top OS window (desktop): the main window - even hidden to tray - is no longer taken over; Postpone/Skip/Rest-now are clickable in it and right-click opens Break settings.
- The timer HUD is drag-and-drop movable anywhere on screen, remembers its position across restarts, hides disabled timers entirely, and right-clicking it opens Break settings; it stays visible during a break showing the remaining rest time.
- Desktop Device settings: startup mode (show window / start minimized to tray) and on-close behavior (ask / always keep running / always quit).
- Single-instance: launching replaces an existing instance by default (graceful SIGTERM handover via a PID lock; screenshot mode is exempt).
### Changed
- Micro breaks open their window the moment they are due - the invisible toast-prompt phase is gone (rest/daily keep their prompts).
- Breaks are just the countdown, controls and practice launch actions; the old Exercises settings row and tray entry are gone.
- Idle memory: source fonts now rasterize once each at the DPI-scaled base size (plus one lazily built tier for large text) instead of caching up to eight per-size rasterizations, and a burst of new glyphs re-rasterizes at most once per frame per font; language-picker fallback fonts seed ASCII only and grow on demand (kryon `ui_text` change).
- The process no longer links GTK: the system theme reads the desktop's real palette from the theme's gtk.css (kryon `system_theme`), file dialogs shell out to zenity/kdialog/yad (kryon's default backend order), and the GTK tray backend resolves libgtk-3 through kryon's runtime loader only when the tray actually starts. `INBE_NO_TRAY=1` skips the tray entirely (idle RSS drops from ~132 MB to ~103 MB; with the tray it is ~126 MB).
- glibc malloc arenas are capped at four (the app runs ~19 threads; the default ceiling let per-thread arenas inflate idle RSS).
- `KRYON_MEM_DEBUG=1` prints RSS/arena snapshots at startup and steady state (`KryonMemReport`), plus per-font rasterization stats (`UIFontMemoryReport`).
- Vendored Kryon bumped to master (ui_window center/drag/right-click/click-position, per-window XImage buffers, X11 `Time` layout fix; system_theme gtk.css palette).
### Fixed
- Android updates can once again be delivered through F-Droid.
- Restored 32-bit Windows downloads.
- Clicks on extra OS windows (HUD, break window) register correctly: the X11 `Time` field in the event stand-in had the wrong width, shifting button/position reads (right-click and buttons appeared dead).
- Extra OS windows no longer corrupt the heap when two windows of different sizes alternate (per-window XImage buffers).
- The Breaks entry shows in the settings sidebar on desktop again (`#if DESKTOP` resolved against an undefined constant, compiling the mobile branch everywhere).
## [1.9.0] - 2026-08-15
### Added
- Break reminders, Workrave-style: micro, rest and daily break timers with statistics and a desktop timer HUD that lives as a real OS window next to the app (desktop only, off by default, with its own settings tab).
- A dedicated Notifications settings tab. Push delivery uses UnifiedPush (no Google services): "Set up push" opens an in-app picker that lists installed distributor apps with their name and icon and registers with the one you pick; the status line reports the real registration state.
- Reminders are an editable list: add as many as you want, each with a practice dropdown (Wim Hof, Meditation, Sun Salutation), a [-] time [+] stepper, an on/off toggle and delete. Ships with one enabled Wim-Hof 08:00 reminder.
- A notification when new friend requests arrive over social sync (toggleable, on by default).
- Screenshot scenes for the first-run guide and the notifications settings, for regression coverage.
### Changed
- The app is built through the Kir-only k2c pipeline end to end; the legacy kc path and the orphaned wasm4/uxn experimental backends are gone.
- The 2,400-line app.c is split into focused modules (app_audio, app_fonts, app_web_bridge) and the simple screen dispatch is table-driven.
- Material theme is the default everywhere.
- The mobile nav sidebar no longer lists the desktop-only Breaks entry, and its scroll area is sized to the real content height so every entry is reachable on small screens.
- In-practice completion notifications are always on; the redundant "session complete" setting was removed.
- Vendored Kryon bumped through the notification, UIWindow and guide fixes.
### Fixed
- Settings silently stopped persisting across reloads on web (and could drop settings on any platform once enough keys existed): the settings load cache was a fixed 192-entry array that silently discarded entries past the cap, and the notification-era keys pushed the setting count over it. The cache now grows dynamically and logs if its allocation ever fails.
- First-run guide misalignment on small screens: the highlight anchors now come from the rectangles the draw code actually renders, the practice home reserves the exact space below its card (so it no longer flips into scroll mode when everything fits), the guide never starts on the welcome screen, the Android back key closes it, and its progress persists so it does not return after quitting mid-tour.
- "Set up push" did nothing: the UnifiedPush configuration ran via JNI on the native render thread, which has no Looper, and the resulting exception aborted registration before it started. It now runs on the UI thread.
- The reminder time is exactly centered between the - and + buttons and vertically aligned with them.
- Fresh installs now load the default reminder list (the "no saved list" sentinel was being clamped to an empty list).
- Android, web and CI build breaks from the Kryon bumps (ui_window NULL on Android, physics exclusion for web, Firefox smoke test under software GL).
## [1.8.23] - 2026-08-13
### Fixed
- Properly fixed accented characters (ä ö ü ß é ñ č etc.) typed into text fields rendering in a different, broken font. The active UI font is now dynamic in kryon and renders every glyph its file contains in its own typeface, instead of the brittle per-locale codepoint set that missed any character not present in the current locale's file. (1.8.20 only regenerated the font subset; this is the root-cause fix in kryon.)
### Changed
- Bumped the vendored Kryon pointer, and excluded Kryon's 2D physics (Box2D) sources from the Android build (inbe is UI-only) so the APK builds cleanly after the bump.
## [1.8.22] - 2026-08-12
### Fixed
- Fixed a ghost-click bug when closing the sidebar by swiping left on mobile: the pointer release bled through to the newly-shown screen, triggering a stray click on whatever nav item or button was under the release point (e.g. opening About). The release is now consumed before the screen switch.
- Fixed sidebar navigation returning to the wrong screen: closing the sidebar now remembers and returns to the screen it was opened from, and the return-on-back flag is properly cleared on re-open so it can't loop.
## [1.8.21] - 2026-08-12
### Fixed
- Fixed text corruption and overflow at high UI scale: font-shrink loops in the habits weekly view and WHM progressive-speed editor stepped or compared against scaled pixel values instead of logical font sizes, causing text to shrink too fast or never shrink. Title bars, toasts, and empty text fields now use the scaled line height for vertical centering and container sizing.
## [1.8.20] - 2026-08-12
### Fixed
- Fixed Android default scaling being too small by using the best available DPI estimate (maximum of viewport ratio, device density, and window scale) instead of device density alone, which under-scaled on tall screens.
- Regenerated the Latin font subset to include accented characters (ä ö ü ß é ñ č etc.) so German, French, Spanish, Czech and other Latin-script languages no longer fall back to a visually different system font.
- Removed per-frame DPI scale log spam from the embed draw path.
- Fixed the CI release build by upstreaming the SetUIDeviceDensity hook and other kryon fixes that were only present as uncommitted vendor working-tree edits.
## [1.8.19] - 2026-08-11
### Added
- Added a user-facing Scale factor control in Appearance settings, with a slider plus minus/plus steppers, that rescales the whole UI live on top of the device DPI. Shows the effective scale (e.g. 2.0x) and supports shrinking below the default.
### Changed
- Bumped practice screen metadata/subtitle, statistics metric labels, and About version text to the regular font tier so they stay readable at high scale.
- Made the per-practice music track setting keys data-driven so future practices persist automatically, and derived the practice music enable mask from the track selection to prevent drift.
- Updated Kryon Slider widget to allow a caller-supplied value text (e.g. "1.8x") and bumped the vendored Kryon pointer.
## [1.8.18] - 2026-08-10
### Changed
- Fixed Android audio/music import failing with "unsupported audio format": the file picker now preserves the original filename and a correct extension derived from the picked file's MIME type, instead of copying to an extension-less cache path.
- Fixed long custom music titles overlapping the play/pause and remove buttons in Audio settings by fitting them with an ellipsis.
- Moved background music selection out of per-practice customization and into Audio settings, with one track dropdown per practice (Wim Hof, Meditation, Sun Salutation), each defaulting to "None" except Meditation.
- Added a download/redownload button and progress indicator for the bundled meditation music pack directly in Audio settings.
- Showed the "Music by Elijah_K." attribution under a practice's track dropdown only when a bundled track requiring attribution is selected.
## [1.8.17] - 2026-08-10
### Changed
- Updated the WHM tutorial hold preview to use the same progress circle rendering as practice sessions.
- Fixed manual tutorial navigation arrows to use the centered left and right icons.
- Fixed habit edit Save so it returns directly to the habits overview, with a smaller Delete action for existing habits.
- Updated Kryon to allow apps to disable automatic default font loading during UI initialization.
## [1.8.16] - 2026-08-10
### Changed
- Fixed first-run guide overlay alignment under the Material theme by using style-aware tab and bottom navigation measurements.
- Fixed Audio settings scroll height calculation so the page sizes to the actual custom sound, music, output, and import controls.
- Restored Android 6/API 23 native launch compatibility by extracting packaged JNI libraries for older devices.
- Updated Kryon to the canonical widget API and refreshed the vendored Kryon pointer.
## [1.8.15] - 2026-08-09
### Changed
- Updated Kryon to the clean Kryon-owned app API and Material toggle rendering.
- Improved Material spacing in settings toggle rows.
- Updated Habits overview, calendar day cells, and weekly rows to use Material-friendly rounded controls.
- Disabled app audio initialization while running inside Kryon preview.
## [1.8.14] - 2026-08-06
### Changed
- Updated Kryon to the retro-only widget runtime while style selection is paused.
- Fixed deferred dropdown overlays so Inbe dropdown menus open above later controls.
- Restored practice carousel left/right navigation and kept session title bars using close buttons.
- Removed the app-level Animations setting and transition preference storage.
## [1.8.13] - 2026-08-05
### Changed
- Split cue and music volume controls so short practice cues stay on `sound_volume` while streamed meditation music uses the new persisted `music_volume` setting.
- Added an optional WHM retention 30-second marker, defaulting off, with controls in the WHM practice session settings.
- Moved background playback into Device settings and removed the standalone global Session settings tab.
- Updated practice music/settings UI and importable settings to include the new audio preferences, including a cue-volume test button.
## [1.8.12] - 2026-07-29
### Changed
- Fixed the Wim Hof between-round countdown: round 0 always counts down from 3 (the intentional 3-2-1), and rounds 1+ now honor the user's configured "Pause after round" setting. The breath engine now owns the full session state machine, so auto-play and manual round-advance share one path and final-round results are always persisted.
- Added desktop keyboard shortcuts for quitting the app: `Ctrl+Q` quits from any screen, and `Esc` quits when idle on the home screen (deeper screens keep their existing Esc behavior). On tray-enabled builds these go through the keep-running/quit prompt; without a tray they exit immediately, matching the window close button.
- Enabled WAL mode for app storage to improve database concurrency and read/write throughput.
## [1.8.11] - 2026-07-27
### Changed
- Reduced bundled font size by switching shipped UI fonts to Kryon-generated Noto subsets.
- Added Android system font fallback for arbitrary user-entered text while keeping embedded subsets for app UI and non-Android builds.
- Updated Kryon to provide shared font subsetting tooling and dynamic font fallback loading for downstream apps.
## [1.8.10] - 2026-07-26
### Changed
- Migrated `src/storage/import.c` to Kry (`import.kry`, transpiled to `import_impl.c`), following the established `db.kry` pattern; the hand-written `import.h` remains the public contract.
- Bumped the Kryon vendor to `22afa31` plus a one-line fix (`c26b7ec` on the `fix/platform-thread-stddef` branch) adding `#include <stddef.h>` to `platform_thread.c` so the web build can resolve `NULL`. The bump brings persistent text-input focus, a minimal Kry language (sugar verbs removed), and the new `WidgetButton` UI widget used by the practice screen.
- Fixed the web/emscripten build: `src/storage/sync_account.kry` now imports `<emscripten.h>` for its `#intrinsic "web"` declaration (which expands to `EM_ASM_INT`), matching the other two files using that intrinsic. This had broken the web build since the original Kry migration.
- Reworked the desktop close behavior: raylib's built-in ESC-to-exit is now disabled on native/desktop (ESC is handled per-screen, and close goes through our own keep-running/quit prompt when a tray is present); without a tray the window close button quits immediately.
- Habits editor: added description scroll state so long descriptions scroll correctly.
- Renamed a shadowed `text` parameter in `copy_text_checked` to `input` for clarity (meditation music path).
- Various screen and settings UI refinements across habits edit, pet, practice, profile, language, manual, and settings screens.
- Added `.zcode` to `.gitignore`.
### Note
- Meditation audio asset refresh is held back from this release (requires `git-lfs` to be installed locally before committing); will ship in a follow-up.
## [1.8.9] - 2026-07-17
### Changed
- Fixed Android native builds by embedding the current Noto font sources instead of stale generated `assets/fonts/ui.*` files.
- Fixed Android UI font loading by enabling TTF/OTF support in the Android raylib build.
- Updated sun-salutation assets to use pose sheets while keeping the figure setting focused on the man sequence for now.
- Improved release packaging automation, Linux package targets, and store metadata.
## [1.8.8] - 2026-07-13
### Changed
- Updated Flint icon integration to use categorized sprite sheets for app UI, language, payments, platforms, tiles, and profile pictures.
- Updated Inbe to use the new Flint icon categories and removed legacy eye icon usage.
- Fixed profile picture picker selection so it closes the picker, keeps the sidebar open, and does not click through to sidebar links.
## [1.8.7] - 2026-07-12
### Changed
- Fixed Firefox web persistence, mobile habit deletion, and customizable nav tap handling.
- Added a blank-home easter egg screen and updated embedded asset lists.
- Updated release and store packaging automation.
## [1.8.6] - 2026-07-11
### Changed
- Added Firefox add-on packaging, release metadata updates, and CI/release automation.
- Improved web audio asset validation and Firefox/LibreWolf smoke testing.
- Fixed stale screen-local modal state so hidden modals cannot keep input captured after navigation.
## [1.8.5] - 2026-07-11
### Changed
- Updated Flint to improve file dialogs, cursor behavior, focus reset, icon slider popups, and shared raylib build locking.
- Smoothed WHM breath and recovery countdown progress so the ring advances steadily during each breath and countdown.
- Improved session controls, release-store publishing files, and build packaging metadata.
## [1.8.4] - 2026-07-11
### Changed
- Reworked Profile configuration navigation to use a full-width dropdown instead of the tab bar.
- Updated sidebar return behavior for Profile and Settings flows.
- Updated Flint profile widgets and profile picture assets, including sidebar profile image sizing and picker scrolling.
## [1.8.3] - 2026-07-10
### Changed
- Improved ui in practice screen
## [1.8.2] - 2026-07-09
### Changed
- improved desktop experience
- add system themes
## [1.8.1] - 2026-07-03
### Fixed
- storage settings for android 17+
## [1.8.0] - 2026-07-02
### Changed
- upgrade to sync protocol v3
- ui fixes
## [1.7.12] - 2026-07-01
### Changed
- fix web
- deduplicate code
## [1.7.11] - 2026-07-01
### Addded
- add more banners
## [1.7.10] - 2026-07-01
### Changed
- updated whm banner
## [1.7.9] - 2026-07-01
### Fixed
- improve sync review
## [1.7.8] - 2026-07-01
### Changed
- Redesign the Practice home screen around carousel-style practice cards with explicit start, manual, configure, and music actions.
- Move meditation music configuration into a shared practice music panel with per-practice enablement and track selection.
## [1.7.7] - 2026-07-01
### Changed
- Move habit tracking overview out of Profile and into the Habits tab with direct day toggles, reorder controls, and local view persistence.
- Rework Settings into an overview page with section title bars and shared return/title bar UI.
## [1.7.6] - 2026-06-30
### Added
- habit overview
## [1.7.5] - 2026-06-29
### Fixed
- Fix Android 15 relaunch freeze.
- Code cleanup
## [1.7.4] - 2026-06-29
### Fixed
- Clean up practice stats, friend removal, sync review, and Android inset handling.
## [1.7.3] - 2026-06-29
### Fixed
- bottom inset in practice
### Changed
- Improve habit management
## [1.7.2] - 2026-06-29
### Added
- Add local `make install` target.
- Add Profile controls for habit ordering and practice visibility.
### Changed
- Move sync status into the Data view and simplify the habits add option.
- Clean up the README.
## [1.7.1] - 2026-06-28
### Changed
- Move shared Lyra sync protocol code into Flint and simplify Inbe sync client wiring.
## [1.7.0] - 2026-06-28
### Changed
- Rework Android safe-area handling to use one native inset path with stable bottom navigation spacing.
- Move leaderboard stats to synced source data, with local current-user rows shown immediately.
### Fixed
- Fix profile/friend sync freshness, leaderboard empty states, modal input capture, pet asset embedding, and wrapped text previews.
## [1.6.6] - 2026-06-28
### Changed
- updated the practice screen ui/ux
## [1.6.5] - 2026-06-28
### Fixed
- Repair habit-day sync for zero-count completions.
- Require liboqs at build time for every sync-enabled target.
## [1.6.4] - 2026-06-27
### Changed
- Move meditation duration selection into practice configuration with custom time support.
- Add centered in-session meditation add-time controls.
- Use Flint-managed liboqs, LibreSSL, and curl build paths.
### Fixed
- Fix Android native build to use Flint's liboqs submodule.
## [1.6.3] - 2026-06-27
### Changed
- Improve theme, habit, and localization UI polish
## [1.6.2] - 2026-06-27
### Changed
- Improve sun salutation
## [1.6.1] - 2026-06-27
### Changed
- Improved notification in session
- Standardized settings screen1
## [1.6.0] - 2026-06-26
### Added
- Sun Salutation practice with Yoga habit sync support.
### Changed
- Improve sync reliability and review handling.
## [1.5.9] - 2026-06-26
### Fixed
- Android session notification and wakelock for screen-locked playback
## [1.5.8] - 2026-06-25
### Fixed
- Background play for meditation practice
## [1.5.7] - 2026-06-25
- Fix test music
## [1.5.6] - 2026-06-24
### Fixed
- Modal button issue
## [1.5.5] - 2026-06-24
### Fixed
- modal capture bug
- fix sync diff
## [1.5.4] - 2026-06-24
### Changed
- Use Flint-managed modal handling so modal dialogs block background input consistently.
- Add optional sync account aliases, with compact public ID display and full ID reveal modal.
- Make sync state tracking more robust with snapshot hash checks and review flow for unresolved differences.
- Use Flint's built-in font chopping pipeline and verify multilingual locale glyph coverage.
## [1.5.3] - 2026-06-23
### Fixed
- modal issues
## [1.5.2] - 2026-06-23
### Changed
- let you disable screen transitions
- added theme modal
## [1.5.1] - 2026-06-22
### Fixed
- icon scaling
- fix inset bug
### Added
- toggle background music
## [1.5.0] - 2026-06-22
### Changed
- New logo
- improve tabbar ui
### Fixed
- sync issues
## [1.4.11] - 2026-06-21
### Added
- tab bar mode for habits and exercises
### Changed
- fix ut click file
## [1.4.10] - 2026-06-21
### Added
- Added guide to habits page
### Changed
- fix orientation issues
## [1.4.9] - 2026-06-21
### Fixed
- Fix Practice startup, manual navigation, configuration scrolling, and sync backfill issues.
- Add skip feature to on screen guide
## [1.4.8] - 2026-06-21
### Changed
- Fixed start screen
- Fixed schema on first sync
## [1.4.7] - 2026-06-21
### Changed
- Rework Practice into Manual, start, and configuration tabs with a new localized first-run guide.
- Simplify Meditation's manual to one page and make bottom navigation more compact.
## [1.4.6] - 2026-06-20
### Changed
- Move habit weekly, monthly, statistics, and edit views into icon tabs under the habit selector.
- Improve Flint form, modal, tab, and scrollbar widgets for measured layouts and cleaner scrolling.
### Fixed
- Prevent habit info modal text from overlapping the OK button.
## [1.4.5] - 2026-06-20
### Changed
- Fix spacing issues and translations
## [1.4.4] - 2026-06-20
### Added
- Add Russian localization.
- Add a habit stats view with streak, recent activity, weekday, and linked-practice diagrams.
- Add optional in-session volume controls, hidden by default.
- Add Mint and Cobalt themes.
### Changed
- Use one canonical pixel font atlas with Flint-managed DPI scaling and cleaner title sizing.
- Simplify habit counting so multiple counts are opt-in and independent of linked practices.
- Improve habit weekly/calendar spacing, mobile calendar touch feedback, and theme picker ordering.
- Reorganize repeated screen UI into reusable Flint helpers.
### Fixed
- Build the Ubuntu Touch Click package with the OpenStore package id
- Refactor code base
- Sync habit multiple-count settings correctly across clients and preserve queued local habit edits.
- Preserve linked session day behavior while hiding redundant count badges.
## [1.4.3] - 2026-06-20
### Fixed
- Refresh expired native sync auth tokens before sending queued changes.
- Require first-time meditation users to continue through the tutorial before starting.
## [1.4.2] - 2026-06-20
### Fixed
- Improve sync auth, websocket reconnects, and queued habit/session updates.
- Reduce SQLite-related UI flicker and speed up bulk import sync queueing.
- Fixed dropdown menus so temporary option lists cannot crash theme/device selection.
- Fixed Linux test and release builds to link against the vendored curl library path.
## [1.4.1] - 2026-06-19
### Changed
- Improve account management
## [1.4.0] - 2026-06-19
### Added
- optional sync client, offline account creation
- simplify tutorial
## [1.3.6] - 2026-06-18
### Fixed
- Fixed Tickmate `.db` imports so zero-based months map correctly and long habit histories load without dropping later dates.
## [1.3.5] - 2026-06-18
### Fixed
- Improved Android data import for `.db` backups, weekly habit rows, and import conflict handling.
## [1.3.4] - 2026-06-18
### Changed
- Reorganized WHM and Meditation into practice-owned modules for cleaner code boundaries.
- Split the meditation manual into an image intro page and a shorter music/gong setup page.
- Expanded release automation to build Web, Linux AppImage, Windows, APK, and AAB artifacts after tests pass.
## [1.3.3] - 2026-06-17
### Fixed
- Import now restores habits, habit sync settings, and optionally app settings from Inbe SQLite exports.
## [1.3.2] - 2026-06-17
### Fixed
- Unified scroll containers so content stays out of scrollbar tracks and scroll positions clamp cleanly at the bottom.
- Android meditation audio downloads now show a localized network-permission/connectivity modal when the host cannot be resolved.
- Windows builds now support runtime meditation audio downloads.
## [1.3.1] - 2026-06-17
### Fixed
- Fixed Android orientation resizing and habit import merging by name.
## [1.3.0] - 2026-06-14
### Added
- Implemented 1-bit habit tracker synced with practice data
- Habit editing, custom colors, sync options, and deletion.
- Add monochrome theme
- Add simple meditation exercise with background music
## [1.2.6] - 2026-06-12
### Fixed
- Import now replaces only matching session files from the ZIP and never removes local sessions missing from the import.
- Fixed web scaling behavior.
## [1.2.5] - 2026-06-12
### Added
- BTC address for donations
## [1.2.4] - 2026-06-11
### Fixed
- Android sessions continue correctly when the notification shade causes focus loss with background playback enabled.
- Android safe-area insets now offset the viewport at the top instead of creating bottom-only padding.
- Progressive start speed defaults to 3, normal speed defaults to 6, and the start speed editor preview animates at the exact selected speed.
- Dropdown menu text is clipped cleanly while scrolling.
## [1.2.3] - 2026-06-10
### Fixed
- History editing now scrolls to the active field once and keeps 16px Unifont row text aligned without clipping.
## [1.2.2] - 2026-06-10
### Fixed
- Android touch targets now align correctly on devices with navigation bar window insets.
+1
View File
@@ -0,0 +1 @@
include Makefile
+24 -17
View File
@@ -1,21 +1,28 @@
MIT License
BSD 3-Clause License
Copyright (c) 2026 waozi
Copyright (c) 2026, waozi
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its contributors
may be used to endorse or promote products derived from this software without
specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+2018 -39
View File
File diff suppressed because it is too large. Load diff
+99 -61
View File
@@ -1,93 +1,131 @@
<p align="center">
<img src="assets/app/readme-banner.png" alt="Inner Breeze" width="100%">
</p>
<p align="center">
<a href="https://play.google.com/store/apps/details?id=xyz.waozi.inbe">
<img src="assets/app/badge-google-play.png" alt="Get it on Google Play" height="56">
</a>
<a href="https://f-droid.org/packages/xyz.waozi.inbe/">
<img src="assets/app/badge-f-droid.png" alt="Get it on F-Droid" height="56">
</a>
</p>
# Inner Breeze
Inner Breeze - A free, open-source guided breathing meditation app based on the Wim Hof method.
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.
## Features
- Guided breathing sessions with visual and audio cues
- Configurable breath counts and hold times
- Session history with local storage
- 8 color themes (Forest, Ocean, Sky, Sunset, Lavender - each with light/dark variants)
- Sound effects (breath in/out, bell)
- Fullscreen mode with proper DPI scaling
- Touch-optimized UI for mobile devices
- 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
- Repeat the last completed practice using its current settings
## Building
## Build
inbe uses [raylib](https://github.com/raysan5/raylib) and requires a Nix development environment.
The build host needs Node.js 22.18 or newer for mandatory Bend proof checking,
as well as Python 3 and the platform's native build dependencies. Node and Bend
are build tools; they are not installed with the app. See
[build contracts and proofs](docs/build-laws-plan.md) for the checked behavior.
### Prerequisites
- [Nix](https://nixos.org/download.html) with flakes enabled
- For Android builds: Java 17+ JDK
### Native Build
Initialize the submodules once:
```bash
# Enter the development shell
nix develop
# Build for your current platform (Linux x86_64/aarch64)
make
# Run
./build/linux/inbe-linux-$(uname -m)
git submodule update --init --recursive
```
### Cross-Platform Builds
Build and run the desktop app:
```bash
# Linux (both architectures)
make linux
make native
make run
```
# Windows (from Linux)
make windows
Run the terminal backend:
# Android APK
make android
```bash
make tui
```
# WebAssembly
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
```
### Android Emulator Testing
For automated testing with camera notch (cutout) support:
Run the test suite:
```bash
# Enter the development shell and run everything automatically
nix develop
./scripts/emulator.sh # Creates AVD, launches emulator, builds & runs app
make test
```
This single script handles:
- AVD creation (if missing)
- Emulator launch
- APK build
- App installation and launch
To test sync and recovery against an isolated local server:
The AVD is configured with:
- **Device**: Pixel 6 (punch-hole camera style)
- **Display**: 1080×2400 @ 420dpi
- **RAM**: 4GB with hardware acceleration
- **Cutout**: Punch-hole camera for testing window insets
```bash
make sync-server-test DAOCHI_BIN=/absolute/path/to/daochi
```
### Platform-Specific Notes
This uses disposable client databases and a loopback server; see
[web and sync test coverage](WEB_RENDERER_TESTS.md) for details.
- **Linux**: Requires SDL2 runtime libraries
- **Windows**: Standalone executable, no dependencies
- **Android**: Requires Android NDK in the development shell
- **Web**: Requires Emscripten toolchain
Native binaries are written to `build/bin/<platform>/`. Release artifacts are
written under `build/dist/`.
## Project Structure
To debug Inbe against the root Kryon checkout instead of the vendored
submodule, override `KRYON_DIR`:
- `src/` - Main application code (raylib frontend)
- `libinbe/` - Core meditation logic (platform-agnostic)
- `assets/` - Images and sounds
- `themes/` - Color theme definitions
- `droid/` - Android build configuration
- `vendor/raylib/` - raylib submodule
```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
MIT - see [LICENSE](LICENSE)
BSD 3-Clause. See [LICENSE](LICENSE).
+37
View File
@@ -0,0 +1,37 @@
# Web Renderer Tests
Inbe ships the Kryon Canvas2D renderer. `web-canvas` is an alias for `web`.
| Target | Renderer | Purpose |
|---|---|---|
| `make web` | Kryon Canvas2D | Shipping Emscripten/WASM build with liboqs sync support; WebGL is not required. |
| `make web-canvas` | Kryon Canvas2D | Alias for the shipping web build. |
| `make web-compare-test` | Kryon Canvas2D | Builds the web target and runs its smoke suite. |
| `make web-side-by-side-test` | Kryon Canvas2D | Builds, tests, and serves a preview page. |
The shared smoke test is `scripts/web-smoke-test.mjs`:
- `WEB_SMOKE_RENDERER=canvas` requires a live Canvas2D context and nonblank pixels.
- It requires the app runtime-ready hook, a cycling render loop, IDBFS idle/flush behavior, and app settings persistence.
- It verifies sync-key import, practice startup, and habit navigation without reloading.
- The Chromium path also completes a one-minute meditation through pause and
background elapsed time, saves its mood, and verifies the saved check-in after reload.
Server integration:
- Run `make sync-server-test DAOCHI_BIN=/absolute/path/to/daochi` with a built
Daochi server. The runner starts a disposable loopback server and two isolated
client databases, and retains test data and logs in a printed temporary directory.
- It checks offline recovery, a lost upload response, retry without duplicates,
conflicting mood edits, backup restoration, and synced deletion. It uses Inbe's
native storage and sync code; browser transport remains covered by the web smoke suite.
For a manual preview, run:
```bash
make web-side-by-side-test
```
The script prints a local preview URL. Use
`scripts/web-side-by-side-test.sh --no-serve` for build-and-smoke validation
without starting the preview server.
BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 42 KiB

BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 464 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 349 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 512 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 747 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 54 KiB

BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 198 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

+13
View File
@@ -0,0 +1,13 @@
ABCDEFGHIJKLMNOPQRSTUVWXYZ
abcdefghijklmnopqrstuvwxyz
0123456789
!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~
 
ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞß
àáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ
ĀāĂ㥹ĆćĈĉĊċČčĎďĐđĒēĔĕĖėĘęĚě
ĞğĪīŁłŃńŇňŌōŘřŚśŞşŠšŤťŪūŮůŰűŹźŻżŽž
АБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ
абвгдеёжзийклмнопрстуфхцчшщъыьэюя
。,、!?:;()[]「」『』ー〜・
中文简体繁體日本語한국어
Binary file not shown.
Binary file not shown.

Before

Width:  |  Height:  |  Size: 66 KiB

After

Width:  |  Height:  |  Size: 98 KiB

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 163 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 149 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 136 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 136 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 125 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 109 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 230 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 149 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 157 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 157 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

+1
View File
@@ -0,0 +1 @@
<svg fill="#5865F2" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Discord</title><path d="M20.317 4.3698a19.7913 19.7913 0 00-4.8851-1.5152.0741.0741 0 00-.0785.0371c-.211.3753-.4447.8648-.6083 1.2495-1.8447-.2762-3.68-.2762-5.4868 0-.1636-.3933-.4058-.8742-.6177-1.2495a.077.077 0 00-.0785-.037 19.7363 19.7363 0 00-4.8852 1.515.0699.0699 0 00-.0321.0277C.5334 9.0458-.319 13.5799.0992 18.0578a.0824.0824 0 00.0312.0561c2.0528 1.5076 4.0413 2.4228 5.9929 3.0294a.0777.0777 0 00.0842-.0276c.4616-.6304.8731-1.2952 1.226-1.9942a.076.076 0 00-.0416-.1057c-.6528-.2476-1.2743-.5495-1.8722-.8923a.077.077 0 01-.0076-.1277c.1258-.0943.2517-.1923.3718-.2914a.0743.0743 0 01.0776-.0105c3.9278 1.7933 8.18 1.7933 12.0614 0a.0739.0739 0 01.0785.0095c.1202.099.246.1981.3728.2924a.077.077 0 01-.0066.1276 12.2986 12.2986 0 01-1.873.8914.0766.0766 0 00-.0407.1067c.3604.698.7719 1.3628 1.225 1.9932a.076.076 0 00.0842.0286c1.961-.6067 3.9495-1.5219 6.0023-3.0294a.077.077 0 00.0313-.0552c.5004-5.177-.8382-9.6739-3.5485-13.6604a.061.061 0 00-.0312-.0286zM8.02 15.3312c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9555-2.4189 2.157-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.9555 2.4189-2.1569 2.4189zm7.9748 0c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9554-2.4189 2.1569-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.946 2.4189-2.1568 2.4189Z"/></svg>

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

+1
View File
@@ -0,0 +1 @@
<svg fill="#181717" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>GitHub</title><path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"/></svg>

After

Width:  |  Height:  |  Size: 837 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

+1
View File
@@ -0,0 +1 @@
<svg fill="#FFFFFF" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>GitHub</title><path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"/></svg>

After

Width:  |  Height:  |  Size: 837 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

+1
View File
@@ -0,0 +1 @@
<svg fill="#26A5E4" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Telegram</title><path d="M11.944 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0a12 12 0 0 0-.056 0zm4.962 7.224c.1-.002.321.023.465.14a.506.506 0 0 1 .171.325c.016.093.036.306.02.472-.18 1.898-.962 6.502-1.36 8.627-.168.9-.499 1.201-.82 1.23-.696.065-1.225-.46-1.9-.902-1.056-.693-1.653-1.124-2.678-1.8-1.185-.78-.417-1.21.258-1.91.177-.184 3.247-2.977 3.307-3.23.007-.032.014-.15-.056-.212s-.174-.041-.249-.024c-.106.024-1.793 1.14-5.061 3.345-.48.33-.913.49-1.302.48-.428-.008-1.252-.241-1.865-.44-.752-.245-1.349-.374-1.297-.789.027-.216.325-.437.893-.663 3.498-1.524 5.83-2.529 6.998-3.014 3.332-1.386 4.025-1.627 4.476-1.635z"/></svg>

After

Width:  |  Height:  |  Size: 757 B

Binary file not shown.
Binary file not shown.
Binary file not shown.
+30
View File
@@ -0,0 +1,30 @@
Text.practice-heading {
foreground: text;
}
Text.muted {
foreground: muted;
}
Text.selected-navigation {
foreground: accent-ink;
}
Text.circle-ink {
foreground: #171022;
}
Button.practice-pager {
font-size: 42;
}
Image {
foreground: #ffffff;
background: #00000000;
border: #00000000;
radius: 0;
border-width: 0;
material: flat;
opacity: 1;
}
Image.pose-muted {
opacity: 0.62;
}
BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

-72
View File
@@ -1,72 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8" />
<head>
<title>Inner Breeze - All Builds</title>
<link href="/style.css" rel="stylesheet" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Inner Breeze - All available builds and implementations.">
<link rel="icon" type="image/png" sizes="32x32" href="web-assets/icons/favicon-32x32.png">
<meta name="theme-color" content="#5566aa">
</head>
<body>
<div class="content">
<section>
<h1>All Builds</h1>
<p><a href="/">← Back to Inner Breeze</a></p>
</section>
<section>
<div class="platform-section">
<div class="platform-header">
<img src="/web-assets/icons/ray.png" alt="raylib"/>
<div>
<strong><a href="https://raylib.com">Raylib</a></strong>
<p>A C library for video game programming - the primary implementation.</p>
</div>
</div>
<div class="downloads-grid">
<a href="/build/web/index.html" class="download-item">Web (WASM)</a>
<a href="/build/linux/inbe-linux.tar.gz" class="download-item">Linux</a>
<a href="/build/windows/inbe-windows.zip" class="download-item">Windows</a>
<a href="/build/android/inbe-latest.apk" class="download-item">Android APK</a>
</div>
</div>
<div class="platform-section">
<div class="platform-header">
<img src="/web-assets/icons/wasm4.png" alt="wasm4"/>
<div>
<strong><a href="https://wasm4.org">WASM-4</a></strong>
<p>A tiny fantasy console that runs WebAssembly cartridges.</p>
</div>
</div>
<div class="downloads-grid">
<a href="/wasm4/build/index.html" class="download-item">Web</a>
<a href="/wasm4/build/cart.wasm" class="download-item">cart.wasm</a>
<a href="/wasm4/build/inbe-windows.zip" class="download-item">Windows</a>
<a href="/wasm4/build/inbe-linux.tar.gz" class="download-item">Linux</a>
</div>
</div>
<div class="platform-section">
<div class="platform-header">
<img src="/web-assets/icons/uxn.png" alt="uxn"/>
<div>
<strong><a href="https://100r.co/site/uxn.html">Uxn</a></strong>
<p>A small virtual computer; <code>.rom</code> runs in a Uxn emulator.</p>
</div>
</div>
<div class="downloads-grid">
<a href="/uxn/index.html" class="download-item">Web</a>
<a href="/uxn/inbe.rom" class="download-item">inbe.rom</a>
</div>
</div>
</section>
<footer>
<p>&copy; 2026 <a href="https://waozi.xyz">Waozi</a> | <a href="/privacy.html">Privacy Policy</a></p>
</footer>
</div>
</body>
</html>
+10
View File
@@ -0,0 +1,10 @@
{
"targets": [
{
"name": "example",
"url": "https://example.com/compose",
"body_selector": "textarea[name='text']",
"submit_selector": "button[type='submit']"
}
]
}
+51
View File
@@ -0,0 +1,51 @@
# Private data path migration
The canonical root is `<app internalDataPath>/inbe` on Android,
`$XDG_DATA_HOME/inbe` (or `~/.local/share/inbe`) on Unix desktops,
`%LOCALAPPDATA%/inbe` on Windows, and `/home/inbe` in the web filesystem.
The database is `inbe.db` inside that directory. Android release and debug
packages each have their own private `internalDataPath`. Existing export
archive names remain compatible.
On startup, if the legacy `breathing` directory exists (or `BreathSession` on
Windows), the app moves the whole
directory before opening SQLite. This keeps the database, WAL, SHM, and any
other files together. An older `inbe` directory is archived under
`inbe.before-breathing-migration-N` first, without overwriting it. If either
directory move fails, the app continues using `breathing` and can retry next
startup.
When `breathing.db` exists, SQLite's backup API copies its committed main and
WAL content into a temporary database. The copy must pass `PRAGMA quick_check`
before it becomes `inbe.db`. A migration marker identifies the completed copy;
the old database remains as a recovery copy. If the copy fails, the app uses
`breathing.db`. If both database names exist without the marker, startup fails
closed rather than choosing one silently.
`laws/storage_layout/LAWS.bend` defines the finite directory choice policy:
- A fresh install uses the current directory.
- A successful legacy move uses the current directory.
- A failed move keeps using the legacy directory.
- If both exist at decision time, the legacy directory is used. The runtime
first archives the previous `inbe` directory; the policy then sees the
current directory as absent and applies the move rule.
The generated table from the proved Bend policy is consumed by `data_root()`.
The proof covers these decisions, not filesystem atomicity or SQLite contents.
Storage integration tests cover pending WAL data, repeat startup, and database
name conflicts. The Android test covers both-directory archival and compares
the user-data tables before and after migration.
# Desktop profiles
`make run` and `make run-termi` use the persistent debug profile at
`$XDG_DATA_HOME/inbe-debug` (or `~/.local/share/inbe-debug` when XDG_DATA_HOME
is unset). `make run-fresh` still uses a disposable temporary profile.
`make install` installs the production desktop app under `~/.local` by default.
Launching `inbe` or its desktop entry uses `$XDG_DATA_HOME/inbe` (or
`~/.local/share/inbe`). Sync keys, settings, sessions, habits, and downloaded
meditation audio stay inside their respective profile directories. `PREFIX` can
be set explicitly for a system installation; it does not change the production
data location. Debug and production windows have separate desktop identities and
single-instance locks, so both can stay open at once.
+37
View File
@@ -0,0 +1,37 @@
# Sync recovery
Sync enablement records the user’s intent, not whether the last request succeeded.
The 1.9.19 connection setting is migrated without enabling disconnected accounts.
Restoring a key explicitly requests synchronization with the configured server.
Restoring the same key preserves upload cursors, migration completion, and local data.
Connect and Retry schedule the existing background worker. Temporary challenge and
request failures retry after 5, 15, 30, then at most 60 seconds. The last result and
attempt count survive restart; authentication, configuration, signing, and payload
failures require action. Logout and server changes disable synchronization and
clear retry state. Queued records remain until the server response is applied.
Data and Sync show actionable status and queued changes. Repair flags and server
cursors stay internal. Secure-data migration runs through the normal background
sync path, without an automatic blocking prompt, and completion is only recorded
after successful response application.
Friendships are retrieved from the server under the restored account identity.
Successful synchronization schedules social refresh. Temporary social failures
retry; failed leaderboard requests do not discard a fetched friend list or replace
cached leaderboard data with empty results. Restoring a different account cannot
recover friendships belonging to the original identity.
Native clients share a SQLite connection between the UI and sync workers. Settings
text uses a buffer per thread so a UI read cannot replace the recovery key during
decryption. Transactions hold the connection mutex through commit or rollback,
and habit ID reconciliation reuses a schema-created mapping table instead of
dropping and recreating a temporary table while another thread is reading.
Validation: `make sync-recovery-test`, the sync account/review and locale tests,
and `DAOCHI_BIN=/path/to/daochi make sync-server-test`. The server test creates two
accounts with separate aliases, accepts a friendship, restores the first account's
exported key on fresh clients with and without pre-seeded default habits, and checks
that the alias, friend, custom habit, completed habit day, session, and check-in return.
It also drops an upload response to verify safe retry. Native screenshot scenes `sync_disconnected` and
`sync_retry` use disposable data and loopback configuration.
+116
View File
@@ -0,0 +1,116 @@
# Build contracts and Bend proofs
## Implemented
Inbe's release metadata uses the numeric changelog release and the permanent
`APP_VERSION_*` macros. `update_version.sh` synchronizes the release fields;
`check-version.py` rejects inconsistencies. The version check now runs in the
native, web, and Windows artifact graphs and in both Gradle and CMake, including
incremental builds. Version semantics remain a structural build check, not a
formal theorem.
The retry implementation is now **Bend 2 code that ships as evaluated data**:
1. `laws/sync_retry/main.bend` defines the actual pure retry policy.
2. `LAWS.bend` states 11 universally quantified contracts; `PROOF.bend` proves
them for the complete finite input types.
3. Kryon's `tools/bend-laws.mjs` uses pinned upstream Bend 2.0.16, commit
`15ae0c86f3193b8f645b4bedbc438655b648d0da`. It verifies the checker and Base
hashes before loading, checks termination and types, and rejects holes,
unproved declarations, `@unsafe`, foreign implementations, remote imports,
and imports outside the proof package.
4. The checked function is evaluated directly in Bend's kernel for all 45
combinations of result and retry state. `scripts/generate-sync-retry.mjs`
writes the C table consumed by `src/app/sync_retry.kry`. There is no separate
handwritten retry implementation or optimizing Bend code generator in this
path. No Bend runtime is installed on the phone.
5. Account-data and social retries both use that table. The small adapter
clamps persisted integers before indexing, avoiding increment overflow.
Unknown results stop automatic retries.
The proofs establish success resetting the retry state; temporary challenge
and request failures following 5/15/30/60 seconds with a saturated fourth
attempt; actionable failures stopping automatic retry; and the mapping of
saved retry states and delays. Each error classification has its own law.
They do not prove server availability, delivery, alias/friend restoration,
or arbitrary `.kry` behavior. Existing integration tests cover those effects.
The Android private-data directory choice is also a proved finite Bend policy
in `laws/storage_layout`. Its generated table is consumed by `data_root()` and
distinguishes fresh installs, successful moves, failed moves, and an existing
`inbe` directory that must be archived before migration. The proof does not
establish the effects of Android filesystem calls or SQLite backup; storage
integration tests and a device migration check cover those effects. See
`docs/DATA_PATH_MIGRATION.md`.
## Build behavior and verification
Install Node.js **22.18 or newer** on the build host and initialize recursive
submodules. The checker runs offline once those dependencies are present.
CI and package builders provide Node explicitly. The container setup script
uses pinned, checksummed official Node archives; ordinary compilation never
downloads a proof tool. Flatpak removes its Node build tool from the app.
- `make build-laws`: release consistency and proofs.
- `make proof-test`: deterministic generation, contract-breaking mutations,
enum mapping drift, and rejection with an old header already present.
- `make sync-recovery-test`: the actual generated C and coordinator, including
all known result codes, extreme persisted integers, and social retry state.
- `make version-test`: release synchronization and rejecting mismatches.
- Upstream `make bend-laws-test`: checker/evaluator acceptance and rejection,
including missing proofs, holes, unsafe definitions, and escaped imports.
Make's actual generated-header and app artifact prerequisites run the checks
on every invocation. Failed checking prevents compilation even if an old
header exists. Successful generation preserves the header's timestamp when
its contents are unchanged. Gradle `preBuild` always checks; direct CMake
builds independently regenerate their checked table. `make kry-c-plan9`
exports the checked table with the generated sources for native Plan 9,
which consumes the host-verified export.
Kryon's syntax law `image.surface.no_low_level_calls` remains mandatory in
all six compiler frontends, including default and `--no-strict` builds. Its
105 rejection cases are compiler regression tests, not behavioral proofs.
The text/button scanners, migration tests, and sync integration suite remain
separate checks with their own scope.
## Trust and use with smaller models
A model can change the implementation and provide proofs while the contracts
stay fixed. Its output is accepted only when the checker verifies those
contracts. This reduces dependence on model quality for **specified behavior**;
it does not establish that a smaller model is equally good at designing the
contracts or diagnosing missing requirements.
The trusted boundary is the pinned checker/Base, the finite-table generator,
the enum/integer adapter, build graph, and target compiler. Regression tests
exercise the integration boundary. An agent able to rewrite the laws or gates
can weaken the guarantee. Protected branches, required checks, and independent
review ownership should protect those files on the hosting service; repository
files alone cannot make themselves immutable. Hosting settings have not been
changed by this implementation.
`AGENTS.md` now states ownership, contract-change boundaries, and the remaining
product/review obligations instead of treating prose as a proof system.
## Next migrations, in order
1. Move practice lifecycle decisions into a pure finite policy: desktop focus
cannot pause a session, user pause remains explicit, and mobile background
transitions preserve the required timer behavior. Compile its proved table
through the same Kryon checker; retain platform integration tests.
2. Specify sync recovery transitions: restoring an account cannot discard
queued local changes, partial social refresh cannot erase known friends,
and an account switch cannot apply responses belonging to the old account.
Model effects explicitly; proofs of scheduling do not prove network delivery.
3. For unbounded algorithms such as collection merges, define a checked direct
compilation path and its semantics before expanding beyond finite tables.
Do not claim a proof of a model also proves a separately implemented C path.
4. Add typed widget contracts in Kryon's parsed compiler representation and
negative fixtures before removing the remaining API instructions. Turning on
today's whole-project strict mode produces thousands of unsupported-host
diagnostics and is not a substitute for those contracts.
[Bend's upstream guide](https://github.com/bendlang/bend/blob/main/guide/GUIDE.md)
describes its law/proof convention. Inbe uses the actual checker rather than
naming ordinary assertions or tests mathematical proofs.
+56
View File
@@ -0,0 +1,56 @@
# Inbe source ownership
Product behavior is maintained in `.kry`: application setup and rendering,
practice and habit rules, account/sync orchestration, database policy, audio
selection, desktop tray menus, screenshot scenes, and browser actions.
`app/app_types.kry` owns the application records and enums. C declarations are
emitted by k2c into the build directory.
The main application uses direct screen dispatch. Tray implementation lives in
`platform/tray.kry`, without a second set of forwarding functions. Native host
startup calls the same `.kry` application setup on each platform.
## UI composition
- Use `Text(TextProps)`, `Image(ImageProps)`, and `Button(ButtonProps)` directly.
- Supply text bounds, font, alignment, and wrapping in props. Bounded one-line
text uses the standard widget's clipping instead of app-owned UTF-8 chopping.
- Put product presentation rules in `assets/styles/inbe.kss`. It augments the
selected Kryon style pack and shares its color tokens.
- `app/widgets.kry` composes the product's panels and guide content from
standard controls. Kryon's shared Modal, Guide, and Reorder policies own
their geometry; Popup owns dismissal and capture for volume sliders.
- Session action rows use shared toolbar geometry and 44-unit buttons with gaps.
Route choices, guide steps, and practice animations remain Inbe behavior.
- Background art and Sun Salutation atlas frames use asset-backed Image props.
Kryon owns image loading, caching, cropping, and contain/cover fitting.
## Native boundary
The remaining C handles platform integration: window setup/frame submission,
Android JNI and insets, browser JavaScript interop, and Plan 9 system adapters.
`storage_json_builder.c` contains only the C varargs bridge; buffer growth,
escaping, failure state, and timestamp serialization live in `storage/json.kry`.
The checked JSON builder is retained because the current Kryon JSON emitter
does not expose the allocation-failure result required by Inbe's sync writer.
Database schemas, setting keys, sync protocol v6, tombstones, and recovery
policy are preserved. This migration does not introduce a data conversion.
## Building and checking
Run `make native test` with the platform's normal build configuration. On omega,
set `PKG_CONFIG_PATH=/home/wao/.local/sdl2/lib/pkgconfig`. The tests consume the
freshly generated app modules, including the font selector and UI metrics.
`make web` and the Android CMake build generate the same `.kry` sources for their
platforms. `make kry-c-plan9` produces Plan 9 C and its source list.
Kryon commit `c645a7016` removes the frontend's 16-constant-per-module limit.
The compiler regression covers a module with 80 constants; language tests cover
C, C++, and Go. Runtime/compiler changes belong upstream on Kryon master, then
come into Inbe through a clean submodule update.
Kryon commit `cde33e956` supplies the Canvas backend's
paint-layer transform capture and restore. Its rendering regression covers
rotation, zoom, and replay from a high-DPI window into a render texture. Web
builds enable Emscripten's zlib port for the shared archive implementation.
+55
View File
@@ -0,0 +1,55 @@
# Sync compatibility validation — 2026-09-14
## Production repair
The backend was restarting because it required `DAOCHI_TOKEN_SECRET_HEX`
while the deployed environment still used `KSYNC_TOKEN_SECRET_HEX`.
The configuration migration preserved the existing token secret and database
settings, retained the old settings for rollback, and made a private backup.
Daochi commit `ae40c7f` is deployed. Sync responses no longer advertise backend
protocol development as a client upgrade. `latest_protocol` echoes the client
protocol on typed sync responses; `server_latest_protocol` reports backend
capability separately. The opaque encrypted endpoint omits `latest_protocol`.
## Passed checks
- Daochi `make test`, including real ML-DSA authentication with the shipped
Inbe, Ksync, and Daochi signing contexts and headers; altered signatures
rejected; sync protocols v1–v5 accepted without upgrade warnings.
- Environment migration tests: credential/database preservation, idempotence,
and rejection of conflicting old/new settings.
- Inbe sync-account and sync-review tests, including persisted newer protocol
metadata that must not become an app-update notification.
- Inbe two-client integration test against a disposable Daochi server:
upload/download, offline recovery, interrupted upload, retry, conflicts,
mood data, backup restoration, and deletion.
- Official GitHub release APK 1.9.19 (versionCode 121), installed alongside
the existing debug app on the attached Moto E6 Play:
imported a disposable old-format `.key`, connected to production,
saved and uploaded one meditation session, reset only the fresh test app,
re-imported the same key, and restored the session from production.
The Data screen reported one session, queued zero, and Ready, without
the protocol-driven “Upgrade Inner Breeze” warning.
- All five newly added sync status/error messages are present exactly once
in all 12 locale files. Vendor trees remain clean; `git diff --check` passes.
## Remaining limits
- The phone validation uses the unchanged published APK. Its missing locale
messages still display identifiers; the translated fixes are in 1.10.0
source and are not published yet.
- Building the current Android working tree fails at the existing
`PickerDialog` / `PickerDialogProps` call in notification settings, whose
API is absent from the selected runtime. A new APK has not been validated.
- The full locale test also reports pre-existing missing profile translations
and unused profile/list keys outside the sync changes.
- A backup produced by the current development client was rejected by the
old APK as an invalid export. Key-based server restoration passed; do not
claim forward compatibility of development backup archives.
- Production `/healthz` succeeds. `/readyz` still reports a separately
configured direct-payment issuer key missing; database, token secret,
and signature-verifier checks pass. Deployment preserved that existing
readiness state rather than changing payment configuration.
- This validates the tested release and wire formats, not every historical
binary, platform, or possible account dataset.
+108 -15
View File
@@ -1,16 +1,33 @@
plugins {
id 'com.android.application'
id 'org.jetbrains.kotlin.android'
}
def hasGplayFirebaseConfig = file("src/gplay/google-services.json").exists()
if (hasGplayFirebaseConfig) {
apply plugin: 'com.google.gms.google-services'
tasks.configureEach { task ->
if (task.name == "processDebugGoogleServices" || task.name == "processReleaseGoogleServices") {
task.enabled = false
}
}
}
def appOnlyAbi = (project.findProperty('app.onlyAbi') ?: '').toString()
def buildingAndroidBundle = gradle.startParameter.taskNames.any { it.toLowerCase().contains("bundle") }
def kryonDirOverride = (project.findProperty('kryon.dir') ?: System.getenv("KRYON_DIR") ?: '').toString()
android {
namespace 'xyz.waozi.inbe'
compileSdk 35
ndkVersion "25.1.8937393"
compileSdk 36
ndkVersion "28.2.13676358"
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = '1.8'
}
def keystorePropsFile = rootProject.file("local.properties")
def keystoreProps = new Properties()
@@ -18,7 +35,8 @@ android {
keystoreProps.load(new FileInputStream(keystorePropsFile))
}
def getKeystorePath = { -> keystoreProps['keystore.path'] ?: System.getenv("HOME") + "/.android/inbe-release.keystore" }
def getKeystorePath = { -> project.findProperty('keystore.path') ?: keystoreProps['keystore.path'] ?: System.getenv("HOME") + "/.android/kryon-release.keystore" }
def getKeystoreAlias = { -> project.findProperty('keystore.alias') ?: keystoreProps['keystore.alias'] ?: "inbe-key" }
def releasePassword = project.findProperty('keystore.password') ?: ""
@@ -26,52 +44,123 @@ android {
release {
storeFile getKeystorePath() ? file(getKeystorePath()) : null
storePassword releasePassword
keyAlias "inbe-key"
keyAlias getKeystoreAlias()
keyPassword releasePassword
}
}
defaultConfig {
minSdk 19
targetSdk 35
versionCode 23
versionName "1.2.2"
applicationId "xyz.waozi.inbe"
minSdk 21
targetSdk 36
versionCode 126
versionName "2.0.2"
manifestPlaceholders = [
inbeAppLabel: "Inner Breeze",
inbeUsesCleartextTraffic: "false"
]
externalNativeBuild {
cmake {
if (kryonDirOverride) {
arguments "-DKRYON_DIR=${kryonDirOverride}"
}
if (System.getProperty('os.name').toLowerCase().contains('freebsd')) {
arguments '-DANDROID_HOST_TAG=linux-x86_64',
'-DANDROID_USE_LEGACY_TOOLCHAIN_FILE=ON'
}
}
}
}
buildFeatures {
buildConfig true
}
buildTypes {
release {
signingConfig project.hasProperty('fDroidBuild') ? null : signingConfigs.release
minifyEnabled false
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
buildConfigField "boolean", "GPLAY", "false"
}
gplay {
initWith release
signingConfig project.hasProperty('fDroidBuild') ? null : signingConfigs.release
matchingFallbacks = ['release']
buildConfigField "boolean", "GPLAY", "true"
}
debug {
applicationIdSuffix ".debug"
signingConfig signingConfigs.debug
buildConfigField "boolean", "GPLAY", "false"
manifestPlaceholders.inbeAppLabel = "Inner Breeze Debug"
manifestPlaceholders.inbeUsesCleartextTraffic = "true"
}
}
externalNativeBuild {
cmake {
path 'src/main/cpp/CMakeLists.txt'
version '3.22.1'
}
}
splits {
abi {
enable true
enable !buildingAndroidBundle
reset()
include 'arm64-v8a', 'armeabi-v7a', 'x86', 'x86_64'
universalApk true
if (!buildingAndroidBundle && appOnlyAbi) {
include appOnlyAbi
universalApk false
} else if (!buildingAndroidBundle) {
include 'arm64-v8a', 'armeabi-v7a', 'x86', 'x86_64'
universalApk true
}
}
}
dependenciesInfo {
includeInApk = false
}
packaging {
jniLibs {
useLegacyPackaging = true
}
}
}
androidComponents {
beforeVariants(selector().withBuildType("gplay")) { variantBuilder ->
variantBuilder.minSdk = 23
}
}
// Always run, including Java-only incremental builds. CMake independently
// checks its own generated header so direct native builds have the same gate.
tasks.register('checkBuildLaws') {
doLast {
exec {
workingDir rootProject.file('..')
commandLine 'python3', 'scripts/check-version.py'
}
exec {
workingDir rootProject.file('..')
commandLine 'node', 'scripts/generate-sync-retry.mjs'
}
exec {
workingDir rootProject.file('..')
commandLine 'node', 'scripts/generate-storage-layout.mjs'
}
}
}
tasks.named('preBuild').configure {
dependsOn 'checkBuildLaws'
}
gradle.taskGraph.whenReady { taskGraph ->
if (taskGraph.hasTask(":app:assembleRelease")
def signedTasks = [":app:assembleRelease", ":app:bundleRelease", ":app:assembleGplay", ":app:bundleGplay"]
if (signedTasks.any { taskGraph.hasTask(it) }
&& !project.findProperty('keystore.password')
&& !project.hasProperty('fDroidBuild')) {
throw new GradleException("Use: make android-release PASSWORD=your-password")
@@ -80,4 +169,8 @@ gradle.taskGraph.whenReady { taskGraph ->
dependencies {
implementation 'androidx.core:core:1.12.0'
implementation 'androidx.health.connect:connect-client:1.1.0'
implementation 'org.unifiedpush.android:connector:3.3.3-rc1'
gplayImplementation platform('com.google.firebase:firebase-bom:34.18.0')
gplayImplementation 'com.google.firebase:firebase-messaging'
}
+15
View File
@@ -0,0 +1,15 @@
# Native code finds MainActivity by its package name and registers private
# native methods by their Java names.
-keep class xyz.waozi.inbe.MainActivity { *; }
# Native code looks these up by class or method name through JNI/reflection.
-keep class xyz.waozi.inbe.ShareHelper { *; }
-keep class xyz.waozi.inbe.GplayPushBridge { *; }
-keep class xyz.waozi.inbe.GplayPaymentBridge { *; }
# Manifest and platform callback entrypoints must keep their public shape.
-keep class xyz.waozi.inbe.FcmPushService { *; }
-keep class xyz.waozi.inbe.PushServiceImpl { *; }
-keep class xyz.waozi.inbe.SessionForegroundService { *; }
-keep class xyz.waozi.inbe.StartPracticeTile { *; }
-keep class xyz.waozi.inbe.StartPracticeWidget { *; }
+17
View File
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">
<application>
<service
android:name="xyz.waozi.inbe.PushServiceImpl"
tools:node="remove" />
<service
android:name="xyz.waozi.inbe.FcmPushService"
android:exported="false">
<intent-filter>
<action android:name="com.google.firebase.MESSAGING_EVENT" />
</intent-filter>
</service>
</application>
</manifest>
@@ -0,0 +1,29 @@
{
"project_info": {
"project_number": "YOUR_FIREBASE_PROJECT_NUMBER",
"project_id": "inner-breeze",
"storage_bucket": "inner-breeze.firebasestorage.app"
},
"client": [
{
"client_info": {
"mobilesdk_app_id": "YOUR_FIREBASE_ANDROID_APP_ID",
"android_client_info": {
"package_name": "xyz.waozi.inbe"
}
},
"oauth_client": [],
"api_key": [
{
"current_key": "YOUR_FIREBASE_ANDROID_API_KEY"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": []
}
}
}
],
"configuration_version": "1"
}
@@ -0,0 +1,19 @@
package xyz.waozi.inbe;
import android.util.Log;
import com.google.firebase.messaging.FirebaseMessagingService;
import com.google.firebase.messaging.RemoteMessage;
public class FcmPushService extends FirebaseMessagingService {
private static final String TAG = "FCM";
@Override
public void onNewToken(String token) {
Log.d(TAG, "new FCM token");
}
@Override
public void onMessageReceived(RemoteMessage message) {
Log.d(TAG, "FCM message received");
}
}
@@ -0,0 +1,21 @@
package xyz.waozi.inbe;
import android.widget.Toast;
final class GplayPaymentBridge {
private GplayPaymentBridge() {}
static String channel() {
return "disabled";
}
static void purchaseTokens(final MainActivity activity, final String productId,
final String accountId, final String authToken) {
activity.runOnUiThread(new Runnable() {
@Override
public void run() {
Toast.makeText(activity, "Token purchases are not available in this build.", Toast.LENGTH_LONG).show();
}
});
}
}
@@ -0,0 +1,44 @@
package xyz.waozi.inbe;
import android.widget.Toast;
import com.google.firebase.messaging.FirebaseMessaging;
final class GplayPushBridge {
private static String lastToken;
private GplayPushBridge() {}
static boolean isRegistered(MainActivity activity) {
return lastToken != null && !lastToken.isEmpty();
}
static String[] getDistributors(MainActivity activity) {
return new String[] {"fcm"};
}
static String[] getDistributorLabels(MainActivity activity) {
return new String[] {"Google notifications"};
}
static String[] getDistributorIcons(MainActivity activity) {
return new String[] {""};
}
static void configureWith(MainActivity activity, String pkg) {
configure(activity);
}
static void configure(final MainActivity activity) {
try {
FirebaseMessaging.getInstance().getToken()
.addOnSuccessListener(token -> {
lastToken = token;
Toast.makeText(activity, "Google notifications enabled", Toast.LENGTH_SHORT).show();
})
.addOnFailureListener(error ->
Toast.makeText(activity, "Google notifications unavailable", Toast.LENGTH_LONG).show());
} catch (IllegalStateException e) {
Toast.makeText(activity, "Google notifications unavailable", Toast.LENGTH_LONG).show();
}
}
}
+105 -7
View File
@@ -1,36 +1,134 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">
<!-- connect-client needs API 26; on older devices the export button is a
no-op (runtime SDK guard in HealthConnectExport). -->
<uses-sdk tools:overrideLibrary="androidx.health.connect.client" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PLAYBACK" />
<!-- Health Connect one-way session export (Data & export settings). -->
<uses-permission android:name="android.permission.health.EXERCISE" />
<uses-permission android:name="android.permission.health.MINDFULNESS" />
<queries>
<package android:name="com.google.android.apps.healthdata" />
<intent>
<action android:name="androidx.health.ACTION_SHOW_PERMISSIONS_RATIONALE" />
</intent>
</queries>
<application
android:hasCode="true"
android:icon="@mipmap/ic_launcher"
android:label="Inner Breeze"
android:roundIcon="@mipmap/ic_launcher_round">
android:label="${inbeAppLabel}"
android:roundIcon="@mipmap/ic_launcher_round"
android:usesCleartextTraffic="${inbeUsesCleartextTraffic}">
<activity
android:name="xyz.waozi.inbe.MainActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:configChanges="keyboardHidden|orientation|screenSize|smallestScreenSize|uiMode"
android:exported="true"
android:screenOrientation="portrait"
android:launchMode="singleTask"
android:theme="@android:style/Theme.DeviceDefault.NoActionBar"
android:windowSoftInputMode="stateAlwaysHidden|adjustNothing"
android:windowLayoutInDisplayCutoutMode="never">
<meta-data
android:name="android.app.lib_name"
android:value="main" />
<meta-data
android:name="android.app.shortcuts"
android:resource="@xml/shortcuts" />
<!-- Health Connect: app info can deep-link to the permissions page. -->
<intent-filter>
<action android:name="androidx.health.ACTION_SHOW_PERMISSIONS_RATIONALE" />
</intent-filter>
</activity>
<activity-alias
android:name="xyz.waozi.inbe.SkyCradleLauncher"
android:enabled="true"
android:exported="true"
android:icon="@mipmap/ic_launcher"
android:roundIcon="@mipmap/ic_launcher_round"
android:label="${inbeAppLabel}"
android:targetActivity="xyz.waozi.inbe.MainActivity">
<meta-data android:name="android.app.shortcuts" android:resource="@xml/shortcuts" />
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</activity-alias>
<activity-alias
android:name="xyz.waozi.inbe.InkAndAirLauncher"
android:enabled="false"
android:exported="true"
android:icon="@mipmap/ic_launcher_air"
android:roundIcon="@mipmap/ic_launcher_air_round"
android:label="${inbeAppLabel}"
android:targetActivity="xyz.waozi.inbe.MainActivity">
<meta-data android:name="android.app.shortcuts" android:resource="@xml/shortcuts" />
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity-alias>
<!-- Health Connect on API 34+ routes the rationale through this alias. -->
<activity-alias
android:name="ViewPermissionActivity"
android:exported="true"
android:permission="android.permission.START_VIEW_PERMISSION_USAGE"
android:targetActivity="xyz.waozi.inbe.MainActivity">
<intent-filter>
<action android:name="androidx.health.ACTION_SHOW_PERMISSIONS_RATIONALE" />
</intent-filter>
</activity-alias>
<provider
android:name="androidx.core.content.FileProvider"
android:authorities="xyz.waozi.inbe.fileprovider"
android:authorities="${applicationId}.fileprovider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/file_paths" />
</provider>
<receiver
android:name="xyz.waozi.inbe.StartPracticeWidget"
android:exported="false"
android:label="@string/widget_breathe_label">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
</intent-filter>
<meta-data
android:name="android.appwidget.provider"
android:resource="@xml/widget_breathe_info" />
</receiver>
<service
android:name="xyz.waozi.inbe.StartPracticeTile"
android:exported="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/tile_breathe_label"
android:permission="android.permission.BIND_QUICK_SETTINGS_TILE">
<intent-filter>
<action android:name="android.service.quicksettings.action.QS_TILE" />
</intent-filter>
</service>
<service
android:name="xyz.waozi.inbe.SessionForegroundService"
android:exported="false"
android:foregroundServiceType="mediaPlayback" />
<service
android:name="xyz.waozi.inbe.PushServiceImpl"
android:exported="false">
<intent-filter>
<action android:name="org.unifiedpush.android.connector.PUSH_EVENT" />
</intent-filter>
</service>
</application>
</manifest>
+314 -47
View File
@@ -1,14 +1,257 @@
cmake_minimum_required(VERSION 3.22)
project(Inbe C)
project(App C)
find_program(CCACHE_PROGRAM ccache)
if(CCACHE_PROGRAM AND EXISTS "${CCACHE_PROGRAM}")
set(CMAKE_C_COMPILER_LAUNCHER "${CCACHE_PROGRAM}")
else()
set(CMAKE_C_COMPILER_LAUNCHER "")
set(CMAKE_C_COMPILER_LAUNCHER "" CACHE STRING "" FORCE)
endif()
set(REPO_ROOT "${CMAKE_CURRENT_LIST_DIR}/../../../../..")
set(SRC_DIR "${REPO_ROOT}/src")
set(LIBINBE_DIR "${REPO_ROOT}/libinbe")
set(RAYLIB_DIR "${REPO_ROOT}/vendor/raylib/src")
set(FLINT_DIR "${REPO_ROOT}/vendor/flint")
if(NOT DEFINED KRYON_DIR)
set(KRYON_DIR "${REPO_ROOT}/vendor/kryon")
endif()
get_filename_component(KRYON_DIR "${KRYON_DIR}" ABSOLUTE BASE_DIR "${REPO_ROOT}")
set(RAYLIB_DIR "${KRYON_DIR}/vendor/raylib/src")
set(KRYON_RAYLIB_GENERATED_DIR "${CMAKE_BINARY_DIR}/kryon/raylib_generated")
set(KRYON_COMPAT_GENERATED_HEADER "${KRYON_RAYLIB_GENERATED_DIR}/kryon_compat.generated.h")
set(KRYON_RAYLIB_BACKEND_RENAME_HEADER "${KRYON_RAYLIB_GENERATED_DIR}/raylib_backend_rename.h")
set(KRYON_RAYLIB_WRAPPERS_C "${KRYON_RAYLIB_GENERATED_DIR}/kryon_raylib_wrappers.c")
set(KRYON_NULL_BACKEND_C "${KRYON_RAYLIB_GENERATED_DIR}/kryon_null_backend.c")
# Icon outputs must live outside kryon/generated: the k2c regeneration step
# wipes that whole directory, which would delete these mid-build.
set(KRYON_ICON_GENERATED_INCLUDE_DIR "${CMAKE_BINARY_DIR}/kryon/generated-icons/include")
set(KRYON_ICON_GENERATED_SRC_DIR "${CMAKE_BINARY_DIR}/kryon/generated-icons/src")
set(KRYON_ICON_ASSETS_C "${KRYON_ICON_GENERATED_SRC_DIR}/ui/ui_icon_assets.c")
set(KRYON_ICON_NAMES_C "${KRYON_ICON_GENERATED_SRC_DIR}/ui/ui_icon_names.c")
set(KRYON_ICON_TYPES_H "${KRYON_ICON_GENERATED_INCLUDE_DIR}/ui_icon_types.h")
set(SQLITE_DIR "${REPO_ROOT}/vendor/sqlite")
set(SQLITE_BUILD_DIR "${CMAKE_BINARY_DIR}/sqlite")
set(SQLITE_AMALGAMATION_C "${SQLITE_BUILD_DIR}/sqlite3.c")
set(SQLITE_AMALGAMATION_H "${SQLITE_BUILD_DIR}/sqlite3.h")
set(NATIVE_APP_GLUE_DIR "${ANDROID_NDK}/sources/android/native_app_glue")
file(GLOB FLINT_SOURCES CONFIGURE_DEPENDS "${FLINT_DIR}/src/*.c")
list(REMOVE_ITEM FLINT_SOURCES "${FLINT_DIR}/src/flint_file_dialog.c")
set(OQS_BUILD_ONLY_LIB ON CACHE BOOL "" FORCE)
set(OQS_USE_OPENSSL OFF CACHE BOOL "" FORCE)
set(OQS_MINIMAL_BUILD "SIG_ml_dsa_44" CACHE STRING "" FORCE)
set(OQS_DIST_BUILD OFF CACHE BOOL "" FORCE)
set(OQS_OPT_TARGET generic CACHE STRING "" FORCE)
foreach(oqs_x86_feature
ADX AES AVX AVX2 AVX512 AVX512BW AVX512DQ AVX512F
BMI1 BMI2 FMA PCLMULQDQ POPCNT SSE SSE2 SSE3 VPCLMULQDQ)
set(OQS_USE_${oqs_x86_feature}_INSTRUCTIONS OFF CACHE BOOL "" FORCE)
endforeach()
add_subdirectory("${KRYON_DIR}/vendor/liboqs" "${CMAKE_BINARY_DIR}/liboqs")
if(NOT TARGET oqs)
message(FATAL_ERROR "Android builds require liboqs for sync account crypto")
endif()
file(GLOB_RECURSE KRYON_SOURCES CONFIGURE_DEPENDS "${KRYON_DIR}/src/*.c")
list(REMOVE_ITEM KRYON_SOURCES "${KRYON_DIR}/src/file_dialog/file_dialog.c")
list(REMOVE_ITEM KRYON_SOURCES "${KRYON_DIR}/src/ui/ui_icon_assets.c")
list(REMOVE_ITEM KRYON_SOURCES "${KRYON_DIR}/src/ui/ui_icon_names.c")
# The src/backend/ canvas/software renderers implement raylib-named functions
# for no-raylib hosts; Android links real raylib, so compiling those is a
# duplicate-symbol link error. Keep Kryon's shared front-end backend glue.
list(FILTER KRYON_SOURCES EXCLUDE REGEX "${KRYON_DIR}/src/backend/.*")
list(FILTER KRYON_SOURCES EXCLUDE REGEX "${KRYON_DIR}/src/platform/plan9/.*")
list(APPEND KRYON_SOURCES
"${KRYON_DIR}/src/backend/kry_event_wait.c"
"${KRYON_DIR}/src/backend/kry_image.c"
"${KRYON_DIR}/src/backend/kry_image_decode.c"
"${KRYON_DIR}/src/backend/kry_input.c"
"${KRYON_DIR}/src/backend/kry_instance.c"
"${KRYON_DIR}/src/backend/kry_screenshot.c"
"${KRYON_DIR}/src/backend/kry_sw_png.c"
"${KRYON_DIR}/src/backend/kry_surface_math.c"
"${KRYON_ICON_ASSETS_C}"
"${KRYON_ICON_NAMES_C}")
# this app is UI-only: drop the 2D physics subsystem (Box2D). Mirror the
# KRYON_PHYSICS_SRCS filter the desktop Makefile applies via vendor.mk.
list(REMOVE_ITEM KRYON_SOURCES
"${KRYON_DIR}/src/scene/physics_world.c"
"${KRYON_DIR}/src/scene/node_body2d.c"
"${KRYON_DIR}/src/scene/node_area2d.c"
"${KRYON_DIR}/src/scene/node_collision_shape2d.c")
file(GLOB KRYON_K2C_SOURCES CONFIGURE_DEPENDS "${KRYON_DIR}/cmd/k2c/*.c")
file(GLOB KRYON_KIR_SOURCES CONFIGURE_DEPENDS "${KRYON_DIR}/cmd/kir/*.c")
file(GLOB KRYON_K2C_HEADERS CONFIGURE_DEPENDS
"${KRYON_DIR}/cmd/k2c/*.h" "${KRYON_DIR}/cmd/kir/*.h")
list(APPEND KRYON_K2C_SOURCES ${KRYON_KIR_SOURCES}
"${KRYON_DIR}/src/kry_std/kry_json.c")
list(SORT KRYON_K2C_SOURCES)
find_program(HOST_CC NAMES cc clang gcc REQUIRED)
find_program(HOST_PYTHON NAMES python3 REQUIRED)
find_program(HOST_NODE NAMES node REQUIRED)
set(APP_PROOF_DIR "${CMAKE_BINARY_DIR}/proofs")
add_custom_target(app_build_laws
COMMAND "${HOST_PYTHON}" "${REPO_ROOT}/scripts/check-version.py"
COMMAND "${HOST_NODE}" "${REPO_ROOT}/scripts/generate-sync-retry.mjs"
"${APP_PROOF_DIR}/sync_retry_table.h"
COMMAND "${HOST_NODE}" "${REPO_ROOT}/scripts/generate-storage-layout.mjs"
"${APP_PROOF_DIR}/storage_layout.h"
BYPRODUCTS "${APP_PROOF_DIR}/sync_retry_table.h"
"${APP_PROOF_DIR}/storage_layout.h"
WORKING_DIRECTORY "${REPO_ROOT}"
COMMENT "Checking release consistency and proving app laws"
VERBATIM
)
set(KRYON_K2C "${CMAKE_BINARY_DIR}/host-tools/k2c")
# needs the kir headers on the include path
set(APP_KRY_GEN_DIR "${CMAKE_BINARY_DIR}/kryon/generated")
file(GLOB_RECURSE APP_KRY_SOURCES CONFIGURE_DEPENDS "${SRC_DIR}/*.kry")
list(SORT APP_KRY_SOURCES)
# App-layer sources are cross-platform modules that belong in every build.
# Glob them so adding an app .c file needs no edit here -- this list had
# drifted out of sync with the Makefile APP_SRCS more than once.
file(GLOB APP_C_SOURCES CONFIGURE_DEPENDS "${SRC_DIR}/app/*.c")
list(SORT APP_C_SOURCES)
set(APP_KRY_GENERATED_SOURCES)
set(APP_KRY_GENERATED_HEADERS)
set(APP_KRY_COMMAND_SOURCES)
foreach(kry_source ${APP_KRY_SOURCES})
file(RELATIVE_PATH kry_rel "${REPO_ROOT}" "${kry_source}")
list(APPEND APP_KRY_COMMAND_SOURCES "${kry_rel}")
get_filename_component(kry_rel_dir "${kry_rel}" DIRECTORY)
get_filename_component(kry_name "${kry_rel}" NAME_WE)
set(kry_output_c "${APP_KRY_GEN_DIR}/${kry_rel_dir}/${kry_name}.c")
set(kry_output_h "${APP_KRY_GEN_DIR}/${kry_rel_dir}/${kry_name}.h")
list(APPEND APP_KRY_GENERATED_SOURCES "${kry_output_c}")
list(APPEND APP_KRY_GENERATED_HEADERS "${kry_output_h}")
endforeach()
set(APP_KRY_PROJECT_HEADER "${APP_KRY_GEN_DIR}/kryon_project.h")
add_custom_command(
OUTPUT ${APP_KRY_GENERATED_SOURCES} ${APP_KRY_GENERATED_HEADERS} "${APP_KRY_PROJECT_HEADER}"
COMMAND ${CMAKE_COMMAND} -E remove_directory "${APP_KRY_GEN_DIR}"
COMMAND ${CMAKE_COMMAND} -E make_directory "${APP_KRY_GEN_DIR}"
COMMAND "${KRYON_K2C}" --root "${REPO_ROOT}" -o "${APP_KRY_GEN_DIR}" ${APP_KRY_COMMAND_SOURCES}
DEPENDS ${APP_KRY_SOURCES} "${KRYON_K2C}"
WORKING_DIRECTORY "${REPO_ROOT}"
VERBATIM
)
add_custom_command(
OUTPUT "${KRYON_K2C}"
COMMAND ${CMAKE_COMMAND} -E make_directory "${CMAKE_BINARY_DIR}/host-tools"
# VERBATIM escapes embedded quotes, so unquoted -I paths (no spaces here)
COMMAND "${HOST_CC}" -Wall -Wextra -O2 -I${KRYON_DIR}/include -I${KRYON_DIR}/cmd/kir -I${KRYON_DIR}/cmd/k2c -o "${KRYON_K2C}" ${KRYON_K2C_SOURCES}
DEPENDS ${KRYON_K2C_SOURCES} ${KRYON_K2C_HEADERS}
VERBATIM
)
# Kryon ships part of its runtime as Kry modules transpiled at build time
# (runtime/*.kry -> generated/src/runtime/*.c). Downstream C builds compile
# the generated sources and put their directory on the include path so
# kryon's own C files can #include "runtime/*.h".
set(KRYON_RUNTIME_GEN_DIR "${CMAKE_BINARY_DIR}/kryon/generated-runtime")
file(GLOB KRYON_RUNTIME_MODULE_FILES CONFIGURE_DEPENDS
"${KRYON_DIR}/runtime/*.kry")
set(KRYON_RUNTIME_KRY_MODULES)
foreach(kryon_module_file ${KRYON_RUNTIME_MODULE_FILES})
file(RELATIVE_PATH kryon_module "${KRYON_DIR}" "${kryon_module_file}")
list(APPEND KRYON_RUNTIME_KRY_MODULES "${kryon_module}")
endforeach()
set(KRYON_RUNTIME_KRY_FILES)
set(KRYON_RUNTIME_GENERATED_C)
foreach(kryon_module ${KRYON_RUNTIME_KRY_MODULES})
list(APPEND KRYON_RUNTIME_KRY_FILES "${KRYON_DIR}/${kryon_module}")
string(REGEX REPLACE "\\.kry$" ".c" kryon_module_c "${kryon_module}")
list(APPEND KRYON_RUNTIME_GENERATED_C "${KRYON_RUNTIME_GEN_DIR}/${kryon_module_c}")
endforeach()
add_custom_command(
OUTPUT ${KRYON_RUNTIME_GENERATED_C}
COMMAND "${KRYON_K2C}" --strict --no-main --root "${KRYON_DIR}" -o "${KRYON_RUNTIME_GEN_DIR}" ${KRYON_RUNTIME_KRY_MODULES}
DEPENDS "${KRYON_K2C}" ${KRYON_RUNTIME_KRY_FILES}
WORKING_DIRECTORY "${KRYON_DIR}"
VERBATIM
)
add_custom_target(kryon_runtime_generated DEPENDS ${KRYON_RUNTIME_GENERATED_C})
list(APPEND KRYON_SOURCES ${KRYON_RUNTIME_GENERATED_C})
add_custom_target(app_kry_generated DEPENDS
${APP_KRY_GENERATED_SOURCES}
${APP_KRY_GENERATED_HEADERS}
"${APP_KRY_PROJECT_HEADER}"
)
add_custom_target(app_clean_runtime_api
COMMAND "${HOST_PYTHON}"
"${KRYON_DIR}/scripts/check-clean-text-api.py"
"${SRC_DIR}"
WORKING_DIRECTORY "${REPO_ROOT}"
COMMENT "Rejecting stale or duplicate Kryon runtime API usage"
VERBATIM
)
add_dependencies(app_kry_generated app_clean_runtime_api app_build_laws)
add_custom_command(
OUTPUT
"${KRYON_COMPAT_GENERATED_HEADER}"
"${KRYON_RAYLIB_BACKEND_RENAME_HEADER}"
"${KRYON_RAYLIB_WRAPPERS_C}"
"${KRYON_NULL_BACKEND_C}"
COMMAND ${CMAKE_COMMAND} -E make_directory "${KRYON_RAYLIB_GENERATED_DIR}"
COMMAND ${CMAKE_COMMAND} -E env KRYON_COMPAT_AUDIO=0
sh "${KRYON_DIR}/tools/generate-kryon-compat.sh"
"${RAYLIB_DIR}/raylib.h"
"${KRYON_COMPAT_GENERATED_HEADER}"
"${KRYON_RAYLIB_BACKEND_RENAME_HEADER}"
"${KRYON_RAYLIB_WRAPPERS_C}"
"${KRYON_NULL_BACKEND_C}"
DEPENDS "${KRYON_DIR}/tools/generate-kryon-compat.sh" "${RAYLIB_DIR}/raylib.h"
VERBATIM
)
add_custom_target(kryon_raylib_generated DEPENDS
"${KRYON_COMPAT_GENERATED_HEADER}"
"${KRYON_RAYLIB_BACKEND_RENAME_HEADER}"
"${KRYON_RAYLIB_WRAPPERS_C}"
"${KRYON_NULL_BACKEND_C}"
)
file(GLOB APP_LOCALE_ASSETS RELATIVE "${REPO_ROOT}" CONFIGURE_DEPENDS "${REPO_ROOT}/locales/*.txt")
file(GLOB APP_SOUND_ASSETS RELATIVE "${REPO_ROOT}" CONFIGURE_DEPENDS "${REPO_ROOT}/assets/sounds/*.ogg")
file(GLOB APP_PRACTICE_BANNER_ASSETS RELATIVE "${REPO_ROOT}" CONFIGURE_DEPENDS "${REPO_ROOT}/assets/practices/*/banner*.png")
file(GLOB APP_STYLE_ASSETS RELATIVE "${REPO_ROOT}"
"${KRYON_DIR}/styles/kryon/*.kss" "${REPO_ROOT}/assets/styles/*.kss")
set(APP_EMBEDDED_INPUTS
${APP_STYLE_ASSETS}
${APP_LOCALE_ASSETS}
assets/app/icon-sky-cradle.png
assets/app/icon-ink-and-air.png
assets/easteregg/art.png
assets/easteregg/waozi.png
assets/practices/whm/1.png
assets/practices/whm/2.png
assets/practices/meditation/1.png
assets/pet/egg1.png
${APP_PRACTICE_BANNER_ASSETS}
assets/practices/sunsalutation/poses_man_sheet.png
assets/practices/sunsalutation/poses_woman_sheet.png
assets/fonts/subset/NotoSans-App-Regular.ttf
assets/fonts/subset/NotoSansSC-App-Regular.otf
assets/fonts/subset/NotoSansJP-App-Regular.otf
assets/fonts/subset/NotoSansKR-App-Regular.otf
assets/fonts/subset/NotoSansTC-App-Regular.otf
${APP_SOUND_ASSETS}
)
set(APP_EMBEDDED_DEPS)
foreach(asset ${APP_EMBEDDED_INPUTS})
list(APPEND APP_EMBEDDED_DEPS "${REPO_ROOT}/${asset}")
endforeach()
set(APP_EMBEDDED_ASSETS_C "${CMAKE_BINARY_DIR}/app_embedded_assets.c")
add_custom_command(
OUTPUT "${APP_EMBEDDED_ASSETS_C}"
COMMAND sh "${KRYON_DIR}/scripts/embed-assets.sh" "${APP_EMBEDDED_ASSETS_C}" ${APP_EMBEDDED_INPUTS}
DEPENDS "${KRYON_DIR}/scripts/embed-assets.sh" ${APP_EMBEDDED_DEPS}
WORKING_DIRECTORY "${REPO_ROOT}"
VERBATIM
)
add_custom_command(
OUTPUT "${SQLITE_AMALGAMATION_C}" "${SQLITE_AMALGAMATION_H}"
COMMAND ${CMAKE_COMMAND} -E make_directory "${SQLITE_BUILD_DIR}"
COMMAND sh -c "cd '${SQLITE_BUILD_DIR}' && '${SQLITE_DIR}/configure'"
COMMAND make -C "${SQLITE_BUILD_DIR}" sqlite3.c sqlite3.h
DEPENDS "${SQLITE_DIR}/configure" "${SQLITE_DIR}/manifest"
VERBATIM
)
add_library(raylib STATIC
"${RAYLIB_DIR}/rcore.c"
@@ -17,6 +260,7 @@ add_library(raylib STATIC
"${RAYLIB_DIR}/rtext.c"
"${RAYLIB_DIR}/raudio.c"
)
add_dependencies(raylib kryon_raylib_generated)
target_compile_definitions(raylib PRIVATE
PLATFORM_ANDROID
@@ -29,7 +273,7 @@ target_compile_definitions(raylib PRIVATE
SUPPORT_FILEFORMAT_GIF=0
SUPPORT_FILEFORMAT_QOI=0
SUPPORT_FILEFORMAT_DDS=0
SUPPORT_FILEFORMAT_TTF=0
SUPPORT_FILEFORMAT_TTF=1
SUPPORT_FILEFORMAT_JPG=1
SUPPORT_FILEFORMAT_PNG=1
SUPPORT_FILEFORMAT_OGG=1
@@ -37,7 +281,8 @@ target_compile_definitions(raylib PRIVATE
)
target_compile_options(raylib PRIVATE
-Os
-include "${KRYON_RAYLIB_BACKEND_RENAME_HEADER}"
-Oz
-ffunction-sections
-fdata-sections
)
@@ -47,52 +292,66 @@ target_include_directories(raylib PUBLIC
"${NATIVE_APP_GLUE_DIR}"
)
add_library(inbe STATIC
"${LIBINBE_DIR}/inbe.c"
)
target_include_directories(inbe PUBLIC
"${LIBINBE_DIR}"
)
add_library(flint STATIC ${FLINT_SOURCES})
target_include_directories(flint PUBLIC
"${FLINT_DIR}/include"
"${RAYLIB_DIR}"
)
add_library(main SHARED
"${SRC_DIR}/main.c"
"${SRC_DIR}/app.c"
"${SRC_DIR}/app_session.c"
"${SRC_DIR}/locale.c"
"${SRC_DIR}/theme_meta.c"
"${SRC_DIR}/theme.c"
"${SRC_DIR}/data.c"
"${SRC_DIR}/miniz.c"
"${SRC_DIR}/android/android_import.c"
"${SRC_DIR}/android/android_share.c"
"${SRC_DIR}/tabs/history_tab.c"
"${SRC_DIR}/tabs/language_tab.c"
"${SRC_DIR}/tabs/manual_tab.c"
"${SRC_DIR}/tabs/settings_tab.c"
"${SRC_DIR}/android/android_insets.c"
"${SRC_DIR}/android/android_wakelock.c"
"${SRC_DIR}/android/android_timer.c"
"${SRC_DIR}/platform/main_host.c"
${APP_C_SOURCES}
"${SRC_DIR}/storage/storage_json_builder.c"
"${SQLITE_AMALGAMATION_C}"
"${SRC_DIR}/platform/android/android_device.c"
"${SRC_DIR}/platform/android/android_share.c"
"${APP_EMBEDDED_ASSETS_C}"
${APP_KRY_GENERATED_SOURCES}
${KRYON_SOURCES}
"${KRYON_RAYLIB_WRAPPERS_C}"
"${SRC_DIR}/platform/android/android_insets.c"
"${NATIVE_APP_GLUE_DIR}/android_native_app_glue.c"
)
add_dependencies(main app_kry_generated kryon_raylib_generated
kryon_runtime_generated app_build_laws)
file(GLOB_RECURSE KRYON_ICON_FILES CONFIGURE_DEPENDS "${KRYON_DIR}/icons/*.png" "${KRYON_DIR}/icons/*.json")
add_custom_command(
OUTPUT "${KRYON_ICON_ASSETS_C}" "${KRYON_ICON_NAMES_C}" "${KRYON_ICON_TYPES_H}"
COMMAND "${HOST_PYTHON}" "${KRYON_DIR}/scripts/embed-icon-sheets.py"
icons
"${KRYON_ICON_ASSETS_C}"
--types-output "${KRYON_ICON_TYPES_H}"
--names-output "${KRYON_ICON_NAMES_C}"
DEPENDS "${KRYON_DIR}/scripts/embed-icon-sheets.py" "${KRYON_DIR}/include/ui_icons.h" ${KRYON_ICON_FILES}
WORKING_DIRECTORY "${KRYON_DIR}"
VERBATIM)
add_custom_target(kryon_icon_assets_generated DEPENDS "${KRYON_ICON_ASSETS_C}" "${KRYON_ICON_NAMES_C}" "${KRYON_ICON_TYPES_H}")
add_dependencies(main kryon_icon_assets_generated)
target_include_directories(main PRIVATE
"${APP_PROOF_DIR}"
"${KRYON_ICON_GENERATED_INCLUDE_DIR}"
"${KRYON_DIR}/include"
"${KRYON_DIR}/src"
"${KRYON_DIR}/vendor/monocypher/src"
"${KRYON_DIR}/vendor/monocypher/src/optional"
"${SRC_DIR}"
"${SRC_DIR}/android"
"${SRC_DIR}/app"
"${SRC_DIR}/core"
"${SRC_DIR}/screens"
"${SRC_DIR}/screens/settings"
"${SRC_DIR}/practices"
"${SRC_DIR}/practices/whm"
"${SRC_DIR}/practices/meditation"
"${SRC_DIR}/practices/sun_salutation"
"${SRC_DIR}/storage"
"${SRC_DIR}/platform/android"
"${SRC_DIR}/third_party"
"${APP_KRY_GEN_DIR}"
"${APP_KRY_GEN_DIR}/src"
"${KRYON_RUNTIME_GEN_DIR}"
"${NATIVE_APP_GLUE_DIR}"
"${LIBINBE_DIR}"
"${FLINT_DIR}/include"
"${SQLITE_BUILD_DIR}"
)
target_compile_definitions(main PRIVATE
PLATFORM_ANDROID
ANDROID_BUILD=1
_DEFAULT_SOURCE
_GNU_SOURCE
_FILE_OFFSET_BITS=64
@@ -102,10 +361,14 @@ target_compile_definitions(main PRIVATE
MG_ENABLE_POSIX_FS=0
SUPPORT_MODULE_RAUDIO=1
SUPPORT_FILEFORMAT_OGG=1
UI_EMBEDDED_ONLY=1
HAS_LIBOQS=1
KRYON_WITH_SYNC=1
KRYON_WITH_PHYSICS=0
)
target_compile_options(main PRIVATE
-Os
-Oz
-ffunction-sections
-fdata-sections
-fvisibility=hidden
@@ -113,18 +376,22 @@ target_compile_options(main PRIVATE
target_link_options(main PRIVATE
-Wl,--gc-sections
-Wl,--strip-all
-Wl,-z,max-page-size=16384
-Wl,-z,common-page-size=16384
-Wl,--wrap=fopen
)
if(NOT CMAKE_BUILD_TYPE STREQUAL "Debug")
target_link_options(main PRIVATE -Wl,--strip-all)
endif()
target_link_libraries(main
raylib
inbe
flint
oqs
android
log
OpenSLES
EGL
GLESv2
z
m
)
@@ -0,0 +1,160 @@
package xyz.waozi.inbe
import android.app.Activity
import android.content.Context
import android.content.Intent
import android.os.Build
import android.os.Handler
import android.os.Looper
import android.widget.Toast
import androidx.health.connect.client.feature.ExperimentalMindfulnessSessionApi
import androidx.health.connect.client.HealthConnectClient
import androidx.health.connect.client.PermissionController
import androidx.health.connect.client.permission.HealthPermission
import androidx.health.connect.client.records.ExerciseSessionRecord
import androidx.health.connect.client.records.MindfulnessSessionRecord
import androidx.health.connect.client.records.Record
import androidx.health.connect.client.records.metadata.Metadata as HcMetadata
import java.io.File
import java.time.Instant
import kotlin.coroutines.Continuation
import kotlin.coroutines.CoroutineContext
import kotlin.coroutines.EmptyCoroutineContext
import kotlin.coroutines.startCoroutine
/**
* One-way push of finished sessions into Health Connect: meditation
* and the breathwork practices become mindfulness sessions (meditation /
* breathing types), sun salutation becomes a yoga exercise session. The
* native side writes the session list (start,end,activity per CSV line);
* this object owns permissions, the incremental export marker and the
* result toasts.
*/
@OptIn(ExperimentalMindfulnessSessionApi::class)
object HealthConnectExport {
const val REQUEST_CODE = 1003
private val PERMISSIONS = setOf(
HealthPermission.getWritePermission(ExerciseSessionRecord::class),
HealthPermission.getWritePermission(MindfulnessSessionRecord::class))
private val contract = PermissionController.createRequestPermissionResultContract()
/** Called from native settings via JNI; must run on the UI thread. */
@JvmStatic
fun start(activity: MainActivity, csvPath: String?) {
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.O ||
HealthConnectClient.getSdkStatus(activity) != HealthConnectClient.SDK_AVAILABLE) {
toast(activity, activity.getString(R.string.health_connect_unavailable))
return
}
activity.startActivityForResult(contract.createIntent(activity, PERMISSIONS), REQUEST_CODE)
activity.lastHealthConnectPath = csvPath
}
@JvmStatic
fun handleResult(activity: Activity, resultCode: Int, data: Intent?, csvPath: String?) {
if (resultCode != Activity.RESULT_OK) {
toast(activity, activity.getString(R.string.health_connect_cancelled))
return
}
val granted = contract.parseResult(resultCode, data)
if (!granted.containsAll(PERMISSIONS)) {
toast(activity, activity.getString(R.string.health_connect_denied))
return
}
if (csvPath == null) {
toast(activity, activity.getString(R.string.health_connect_failed))
return
}
Thread {
try {
val count = export(activity, csvPath)
val message = activity.getString(
if (count > 0) R.string.health_connect_exported
else R.string.health_connect_nothing_new, count)
toast(activity, message)
} catch (e: SecurityException) {
toast(activity, activity.getString(R.string.health_connect_denied))
} catch (e: Exception) {
toast(activity, activity.getString(R.string.health_connect_failed))
}
}.start()
}
private fun export(context: Context, csvPath: String): Int {
val client = HealthConnectClient.getOrCreate(context)
val prefs = context.getSharedPreferences("health_connect", Context.MODE_PRIVATE)
val marker = prefs.getLong("last_export", 0L)
val records = mutableListOf<Record>()
var maxEnd = marker
for (line in File(csvPath).readLines().drop(1)) {
val parts = line.split(',')
if (parts.size < 3) continue
val start = parts[0].toLongOrNull() ?: continue
val end = parts[1].toLongOrNull() ?: continue
val activityId = parts[2].toIntOrNull() ?: continue
if (end <= marker || end <= start) continue
maxEnd = maxOf(maxEnd, end)
val startTime = Instant.ofEpochSecond(start)
val endTime = Instant.ofEpochSecond(end)
if (activityId == 2) {
records.add(
ExerciseSessionRecord(
startTime = startTime,
startZoneOffset = null,
endTime = endTime,
endZoneOffset = null,
metadata = HcMetadata.manualEntry(),
exerciseType = ExerciseSessionRecord.EXERCISE_TYPE_YOGA,
title = context.getString(R.string.health_connect_title_yoga)))
} else {
records.add(
MindfulnessSessionRecord(
startTime = startTime,
startZoneOffset = null,
endTime = endTime,
endZoneOffset = null,
metadata = HcMetadata.manualEntry(),
mindfulnessSessionType =
if (activityId == 1) MindfulnessSessionRecord.MINDFULNESS_SESSION_TYPE_MEDITATION
else MindfulnessSessionRecord.MINDFULNESS_SESSION_TYPE_BREATHING,
title =
if (activityId == 1) context.getString(R.string.health_connect_title_meditation)
else context.getString(R.string.health_connect_title_breathing)))
}
}
if (records.isEmpty()) return 0
runSuspend { client.insertRecords(records) }
prefs.edit().putLong("last_export", maxEnd).apply()
return records.size
}
/**
* Runs a suspend call to completion on the current (background) thread
* without pulling in kotlinx-coroutines: the stdlib startCoroutine
* trampoline plus a latch.
*/
private fun <T> runSuspend(block: suspend () -> T): T {
val latch = java.util.concurrent.CountDownLatch(1)
var outcome: Result<T>? = null
block.startCoroutine(object : Continuation<T> {
override val context: CoroutineContext
get() = EmptyCoroutineContext
override fun resumeWith(result: Result<T>) {
outcome = result
latch.countDown()
}
})
latch.await()
return outcome!!.getOrThrow()
}
private fun toast(context: Context, text: String) {
Handler(Looper.getMainLooper()).post {
Toast.makeText(context, text, Toast.LENGTH_LONG).show()
}
}
}
@@ -0,0 +1,68 @@
package xyz.waozi.inbe;
import android.content.ComponentName;
import android.content.Context;
import android.content.pm.PackageManager;
import android.util.Log;
/** The component state is device-local and survives process restarts and upgrades. */
final class LauncherIcons {
static final int SKY_CRADLE = 0;
static final int INK_AND_AIR = 1;
private static final String[] ALIASES = {
"xyz.waozi.inbe.SkyCradleLauncher",
"xyz.waozi.inbe.InkAndAirLauncher"
};
private LauncherIcons() {
}
private static ComponentName component(Context context, int icon) {
// The application ID has a .debug suffix in debug builds; alias names don't.
return new ComponentName(context.getPackageName(), ALIASES[icon]);
}
private static boolean enabled(Context context, int icon) {
int state = context.getPackageManager().getComponentEnabledSetting(component(context, icon));
return state == PackageManager.COMPONENT_ENABLED_STATE_ENABLED
|| (state == PackageManager.COMPONENT_ENABLED_STATE_DEFAULT && icon == SKY_CRADLE);
}
static synchronized int selected(Context context) {
return enabled(context, INK_AND_AIR) ? INK_AND_AIR : SKY_CRADLE;
}
static synchronized boolean select(Context context, int icon) {
if (icon != SKY_CRADLE && icon != INK_AND_AIR) {
return false;
}
PackageManager manager = context.getPackageManager();
int previous = selected(context);
int other = icon == SKY_CRADLE ? INK_AND_AIR : SKY_CRADLE;
if (enabled(context, icon) && !enabled(context, other)) {
return true;
}
try {
// Always leave a launchable entry, including on Android 21–32 where
// component changes cannot be applied atomically. Never disable MainActivity.
manager.setComponentEnabledSetting(component(context, icon),
PackageManager.COMPONENT_ENABLED_STATE_ENABLED, PackageManager.DONT_KILL_APP);
manager.setComponentEnabledSetting(component(context, other),
PackageManager.COMPONENT_ENABLED_STATE_DISABLED, PackageManager.DONT_KILL_APP);
Log.i("LauncherIcons", "Selected " + ALIASES[icon]);
return true;
} catch (RuntimeException error) {
Log.e("LauncherIcons", "Could not change launcher icon", error);
try {
manager.setComponentEnabledSetting(component(context, previous),
PackageManager.COMPONENT_ENABLED_STATE_ENABLED, PackageManager.DONT_KILL_APP);
int unused = previous == SKY_CRADLE ? INK_AND_AIR : SKY_CRADLE;
manager.setComponentEnabledSetting(component(context, unused),
PackageManager.COMPONENT_ENABLED_STATE_DISABLED, PackageManager.DONT_KILL_APP);
} catch (RuntimeException restoreError) {
Log.e("LauncherIcons", "Could not restore launcher icon", restoreError);
}
return false;
}
}
}
File diff suppressed because it is too large. Load diff
Loaded 100 of 816 files, more files were not shown because too many files have changed in this diff. Show more