Checkpoint media compression, narration, and app updates

Preserve current AVIF compression, local voice pipelines, practice workflows, UI API migration, locale updates, and packaging work. Native integration validation remains pending.
This commit is contained in:
waozi committed 2026-11-10 22:20:31 -03:00
1 parent ec7e8a4fdd
commit 939593a1e6
421 files changed
+44175 -76487

No files matched your search

+4 -3
View File
@@ -2,9 +2,10 @@
## [Unreleased]
- Photos downloads from Apps; Lumi previews complete list feedback once, and Lists supports longer todos and swipe completion.
- Practice voice packs are about a third smaller, and switching Practice tabs no longer shifts the screen.
- Custom appearance sheets are now written in CSS; sheets you saved before convert automatically.
- The Library asks whether the Tao Te Ching should open as text or a picture book with transparent chapter art.
- Photos installs from Apps; Lumi previews full list feedback once; Lists adds custom long tasks and steadier swipe actions.
- Choose from six astral exercises before Start; smaller voice packs, steady tabs and ten interface languages.
- One modern appearance with custom CSS; a simpler About list shows Core and app versions.
## [2.1.63] - 2026-11-05
+20 -17
View File
@@ -34,6 +34,7 @@ BUILD_DIR := build
# of this file whenever the manifest or lock changes. PACKAGE_FLAGS=--locked
# ignores ziran.local.toml overrides for release builds.
PACKAGE_FLAGS ?=
export PACKAGE_FLAGS
PACKAGES_MK := $(BUILD_DIR)/packages.mk
$(PACKAGES_MK): ziran.toml ziran.lock scripts/packages.sh
sh scripts/packages.sh $(PACKAGE_FLAGS)
@@ -46,13 +47,20 @@ endif
packages: $(PACKAGES_MK)
ZIRAN_DIR := build/packages/ziran
ZIRAN_BUILD_DIR := $(abspath $(BUILD_DIR)/ziran-toolchain)
# Project mode selects tools from the pinned checkout. Build that same stack
# here so source checks and C generation cannot use different compiler builds.
ZIRAN_BUILD_DIR := $(abspath $(ZIRAN_DIR)/build)
KRYON_LIBRARY_BUILD_DIR := $(abspath $(BUILD_DIR)/kryon-library)
ZI2C_BIN := $(ZIRAN_BUILD_DIR)/bin/zi2c
ZIRAN_BIN := $(ZIRAN_BUILD_DIR)/bin/ziran
ZI2ZIR_BIN := $(ZIRAN_BUILD_DIR)/bin/zi2zir
ZI_CHECK_STAMP := $(BUILD_DIR)/zi-check/native.fresh
ZIRAN_SOURCES := $(wildcard $(ZIRAN_DIR)/cmd/zir/*.[ch]) $(wildcard $(ZIRAN_DIR)/cmd/zir-c/*.[ch]) $(wildcard $(ZIRAN_DIR)/cmd/zir-ir/*.[ch]) $(ZIRAN_DIR)/Makefile
# Package commands are Ziran sources too. Changes there must rebuild the same
# toolchain as compiler and runtime changes, including local package overrides.
ZIRAN_SOURCES := $(shell find $(ZIRAN_DIR)/cmd $(ZIRAN_DIR)/bootstrap \
$(ZIRAN_DIR)/include $(ZIRAN_DIR)/std -type f \
\( -name '*.zi' -o -name '*.c' -o -name '*.h' \) 2>/dev/null) \
$(ZIRAN_DIR)/Makefile $(ZIRAN_DIR)/native-zx.mk $(ZIRAN_DIR)/VERSION
BUILD_OBJ_DIR := $(BUILD_DIR)/obj
BUILD_BIN_DIR := $(BUILD_DIR)/bin
BUILD_DIST_DIR := $(BUILD_DIR)/dist
@@ -378,7 +386,7 @@ LOCALE_FILES := $(wildcard locales/*.txt)
# The practice media is the practices package, packaged under
# assets/practices/ (scripts/practice_media.py).
PRACTICE_MEDIA := build/packages/practices
IMAGE_FILES := assets/app/icon.webp assets/easteregg/art.webp assets/easteregg/waozi.png $(PRACTICE_MEDIA)/whm/1.webp $(PRACTICE_MEDIA)/whm/2.webp $(PRACTICE_MEDIA)/meditation/1.webp assets/pet/egg1.png $(wildcard $(PRACTICE_MEDIA)/*/banner*.webp) $(wildcard $(PRACTICE_MEDIA)/sunsalutation/characters/*/*.png) $(wildcard $(PRACTICE_MEDIA)/taichi/*.png $(PRACTICE_MEDIA)/taichi/*/*.png) $(PRACTICE_MEDIA)/taichi/course.tch
IMAGE_FILES := assets/app/icon.webp $(PRACTICE_MEDIA)/whm/1.webp $(PRACTICE_MEDIA)/whm/2.webp $(PRACTICE_MEDIA)/meditation/1.webp assets/pet/egg1.png $(wildcard $(PRACTICE_MEDIA)/*/banner*.webp) $(wildcard $(PRACTICE_MEDIA)/sunsalutation/characters/*/*.png) $(wildcard $(PRACTICE_MEDIA)/taichi/*.png $(PRACTICE_MEDIA)/taichi/*/*.png) $(PRACTICE_MEDIA)/taichi/course.tch
SOUND_FILES := $(wildcard assets/sounds/*.ogg)
FONT_SUBSET_DIR := assets/fonts/subset
FONT_SUBSET_CORPUS := locales assets/fonts/input_common.txt assets/fonts/ui_symbols.txt $(PRACTICE_MEDIA)/astral_projection/text $(PRACTICE_MEDIA)/workout/text
@@ -400,7 +408,8 @@ INBE_BUNDLE := $(BUILD_DIR)/inbe.zx
INBE_FULL_BUNDLE := $(BUILD_DIR)/inbe-full.zx
APP_SOURCES := $(shell find apps src/apps -name '*.zi' | LC_ALL=C sort) src/core/types.zi src/core/breath_timing.zi $(wildcard src/practices/patterns/*rules.zi) src/practices/patterns/patterns_clock.zi src/practices/patterns/patterns_types.zi src/practices/sun_salutation/sun_salutation_rules.zi src/practices/meditation/meditation_timing.zi
APP_RESOURCES := $(shell rg --files assets/habits assets/lists assets/diary assets/lumi assets/mcp 2>/dev/null)
APP_RESOURCES += $(shell find -L $(PRACTICE_MEDIA) -type f -not -path '*/.git/*' 2>/dev/null) $(shell rg --files design/tai-chi/text 2>/dev/null) apps/practice/content.json design/tai-chi/narration.json design/tai-chi/narration-lines.json $(wildcard design/tai-chi/narration-receipt.json) $(wildcard design/sun-salutation/narration/*.json) $(wildcard design/sun-salutation/narration/text/*.txt) $(wildcard design/lumi-guide/*.json) scripts/practice_content.py scripts/generate-lumi-guide-narration.py
APP_RESOURCES += $(shell find -L $(PRACTICE_MEDIA) -type f -not -path '*/.git/*' 2>/dev/null) $(shell rg --files design/tai-chi/text 2>/dev/null) apps/practice/content.json design/tai-chi/narration.json design/tai-chi/narration-lines.json $(wildcard design/tai-chi/narration-receipt.json) $(wildcard design/sun-salutation/narration/*.json) $(wildcard design/sun-salutation/narration/text/*.txt design/sun-salutation/narration/text-female/*.txt) $(wildcard design/lumi-guide/*.json) $(wildcard design/astral-projection/*.json) scripts/practice_content.py scripts/practice_media.py scripts/tai_chi_preview.py apps/practice/course_access.zi scripts/generate-lumi-guide-narration.py
APP_RESOURCES += $(wildcard design/lumi-guide/text-female/*.txt)
APP_RESOURCES += $(wildcard apps/*/achievements.json) $(wildcard apps/*/achievement-locales/*.json)
APP_RESOURCES += $(wildcard assets/*/sidebar.shape)
@@ -652,10 +661,10 @@ $(ZIRAN_BIN): $(ZI2C_BIN)
zi-check: $(ZI_CHECK_STAMP) | build-laws
$(ZI_CHECK_STAMP): Makefile scripts/check-zi-sources.py $(ZI2C_BIN) \
$(ZI_CHECK_STAMP): ziran.lock $(wildcard ziran.local.toml build/packages/*/ziran.toml) Makefile scripts/check-zi-sources.py scripts/package-paths.sh $(KRYON_DIR)/ziran.toml $(ZIRAN_BIN) \
$(ZI_SRCS) $(DAOCHI_CLIENT_MODULES) $(wildcard build/packages/entity/src/*.zi) $(ZIRAN_STD_MODULES) \
$(KRYON_UI_ZI) $(KRYON_CSS_ZI) $(GAME2D_MODULES) | build-laws
@ZI_CHECK_DEFINES="$(ZI_NATIVE_DEFINES)" python3 scripts/check-zi-sources.py $(ZI2ZIR_BIN) $(KRYON_DIR)/src/ui $(ZIRAN_DIR)/std $(CSS_DIR)/src
@ZI_CHECK_DEFINES="$(ZI_NATIVE_DEFINES)" python3 scripts/check-zi-sources.py $(ZIRAN_BIN)
@mkdir -p $(dir $@)
@touch $@
@@ -691,21 +700,15 @@ $(KRYON_CSS_STAMP): Makefile $(ZI2C_BIN) $(KRYON_CSS_ZI) $(KRYON_DIR)/src/ui/mod
$(KRYON_CSS_C) $(KRYON_CSS_H): $(KRYON_CSS_STAMP)
@test -f $@
$(KRY_GEN_STAMP): Makefile ziran.lock $(ZI2C_BIN) $(ZI_SRCS) $(KRYON_ZI_MODULES) $(GAME2D_MODULES) $(DAOCHI_CLIENT_MODULES) $(wildcard build/packages/entity/src/*.zi) $(ZIRAN_STD_MODULES) $(SYNC_RETRY_SOURCE) | build-laws zi-check
$(KRY_GEN_STAMP): $(wildcard ziran.local.toml build/packages/*/ziran.toml) Makefile ziran.lock scripts/package-paths.sh $(KRYON_DIR)/ziran.toml $(ZI2C_BIN) $(ZI_SRCS) $(KRYON_ZI_MODULES) $(GAME2D_MODULES) $(DAOCHI_CLIENT_MODULES) $(wildcard build/packages/entity/src/*.zi) $(ZIRAN_STD_MODULES) $(SYNC_RETRY_SOURCE) | build-laws zi-check
# --prune-stale removes generated files this run no longer writes, so an
# obsolete header/code pair never survives. Unchanged files keep their
# timestamps, so only C that actually changed recompiles.
mkdir -p $(KRY_GEN_DIR)
sh scripts/run-ziran.sh $(ZI2C_BIN) --no-main --prune-stale --root . \
sh scripts/run-ziran.sh $(ZIRAN_BIN) build --target=c --project --offline $(PACKAGE_FLAGS) \
--no-main --prune-stale --root . \
$(foreach define,$(ZI_NATIVE_DEFINES),--define $(define)) \
--module-path src --module-path $(KRYON_DIR)/src/ui \
--module-path $(CSS_DIR)/src \
--module-path $(KRYON_DIR)/src/backend \
--module-path $(GAME2D_DIR)/src \
--module-path $(ZIRAN_DIR)/std \
--module-path $(DAOCHI_CLIENT_DIR) $(ZI_PACKAGE_PATHS) \
-o $(KRY_GEN_DIR) $(ZI_SRCS)
touch $@
$(KRY_GEN_SRCS) $(KRY_GEN_HDRS) $(KRY_GEN_GAME_C): $(KRY_GEN_STAMP)
@@ -750,7 +753,7 @@ $(SQLITE_AMALGAMATION_C) $(SQLITE_AMALGAMATION_H): $(SQLITE_DIR)/configure $(SQL
cd $(SQLITE_BUILD_DIR) && $(abspath $(SQLITE_DIR))/configure
$(MAKE) -C $(SQLITE_BUILD_DIR) sqlite3.c sqlite3.h
$(TARGET): $(ZIRAN_BUILD_DIR)/libziran.a Makefile $(SRC) $(KRYON_LIBRARY_BUILD_DIR)/libkryon.a $(SQLITE_SRC) $(SQLITE_AMALGAMATION_H) $(FONT_FILES) $(EMBEDDED_ASSETS_C) $(KRYON_NATIVE_BACKEND_DEPS) $(LIBOQS_A) $(CURL_PROTOCOL_CHECK) | $(NATIVE_BIN_DIR)
$(TARGET): $(ZIRAN_BUILD_DIR)/libziran.a Makefile $(SRC) $(SQLITE_SRC) $(SQLITE_AMALGAMATION_H) $(FONT_FILES) $(EMBEDDED_ASSETS_C) $(KRYON_NATIVE_BACKEND_DEPS) $(LIBOQS_A) $(CURL_PROTOCOL_CHECK) | $(NATIVE_BIN_DIR)
$(TARGET): | zi-check
$(shell mkdir -p $(NATIVE_OBJ_DIR))
$(file >$(NATIVE_OBJ_DIR)/inputs.mk,NATIVE_SOURCES := $(APP_SRCS) $(GENERATED_NATIVE_C) $(EMBEDDED_ASSETS_C) $(SQLITE_SRC))
@@ -761,7 +764,7 @@ $(TARGET): | zi-check
$(CC) $(KRYON_NATIVE_CFLAGS) \
-o $@ \
@$(NATIVE_OBJ_DIR)/objects.rsp \
$(KRYON_LIBRARY_BUILD_DIR)/libkryon.a $(ZIRAN_BUILD_DIR)/libziran.a \
$(ZIRAN_BUILD_DIR)/libziran.a \
$(KRYON_NATIVE_BACKEND_LIBS) \
$(LIBOQS_A) \
$(KRYON_NATIVE_BACKEND_LDLIBS) \
+4
View File
@@ -1,5 +1,9 @@
# Changelog
## [Unreleased]
- Compare full-size AVIF copies with adjustable quality and storage totals; reopen image storage from the wrench in Diary or Photos.
## [1.3.27] - 2026-11-05
- Maintenance release for Inner Breeze 2.1.63.
-42
View File
@@ -1,42 +0,0 @@
{
"achievement_diary_days_1_title": "Catatan harian · 1 hari",
"achievement_diary_days_1_description": "Lakukan ini pada 1 tanggal berbeda: entri catatan harian tersimpan yang berisi konten.",
"achievement_diary_days_3_title": "Catatan harian · 3 hari",
"achievement_diary_days_3_description": "Lakukan ini pada 3 tanggal berbeda: entri catatan harian tersimpan yang berisi konten.",
"achievement_diary_days_7_title": "Catatan harian · 7 hari",
"achievement_diary_days_7_description": "Lakukan ini pada 7 tanggal berbeda: entri catatan harian tersimpan yang berisi konten.",
"achievement_diary_days_14_title": "Catatan harian · 14 hari",
"achievement_diary_days_14_description": "Lakukan ini pada 14 tanggal berbeda: entri catatan harian tersimpan yang berisi konten.",
"achievement_diary_days_30_title": "Catatan harian · 30 hari",
"achievement_diary_days_30_description": "Lakukan ini pada 30 tanggal berbeda: entri catatan harian tersimpan yang berisi konten.",
"achievement_diary_days_60_title": "Catatan harian · 60 hari",
"achievement_diary_days_60_description": "Lakukan ini pada 60 tanggal berbeda: entri catatan harian tersimpan yang berisi konten.",
"achievement_diary_days_100_title": "Catatan harian · 100 hari",
"achievement_diary_days_100_description": "Lakukan ini pada 100 tanggal berbeda: entri catatan harian tersimpan yang berisi konten.",
"achievement_diary_days_180_title": "Catatan harian · 180 hari",
"achievement_diary_days_180_description": "Lakukan ini pada 180 tanggal berbeda: entri catatan harian tersimpan yang berisi konten.",
"achievement_diary_days_365_title": "Catatan harian · 365 hari",
"achievement_diary_days_365_description": "Lakukan ini pada 365 tanggal berbeda: entri catatan harian tersimpan yang berisi konten.",
"achievement_diary_weeks_2_title": "Catatan harian · 2 pekan",
"achievement_diary_weeks_2_description": "Lakukan ini dalam 2 pekan kalender berbeda dari Senin hingga Minggu: entri catatan harian tersimpan yang berisi konten.",
"achievement_diary_weeks_4_title": "Catatan harian · 4 pekan",
"achievement_diary_weeks_4_description": "Lakukan ini dalam 4 pekan kalender berbeda dari Senin hingga Minggu: entri catatan harian tersimpan yang berisi konten.",
"achievement_diary_weeks_12_title": "Catatan harian · 12 pekan",
"achievement_diary_weeks_12_description": "Lakukan ini dalam 12 pekan kalender berbeda dari Senin hingga Minggu: entri catatan harian tersimpan yang berisi konten.",
"achievement_diary_weeks_26_title": "Catatan harian · 26 pekan",
"achievement_diary_weeks_26_description": "Lakukan ini dalam 26 pekan kalender berbeda dari Senin hingga Minggu: entri catatan harian tersimpan yang berisi konten.",
"achievement_diary_months_3_title": "Catatan harian · 3 bulan",
"achievement_diary_months_3_description": "Lakukan ini dalam 3 bulan kalender berbeda: entri catatan harian tersimpan yang berisi konten.",
"achievement_diary_months_6_title": "Catatan harian · 6 bulan",
"achievement_diary_months_6_description": "Lakukan ini dalam 6 bulan kalender berbeda: entri catatan harian tersimpan yang berisi konten.",
"achievement_diary_months_12_title": "Catatan harian · 12 bulan",
"achievement_diary_months_12_description": "Lakukan ini dalam 12 bulan kalender berbeda: entri catatan harian tersimpan yang berisi konten.",
"achievement_diary_photo_days_1_title": "Catatan harian · 1 hari",
"achievement_diary_photo_days_1_description": "Lakukan ini pada 1 tanggal berbeda: entri catatan harian tersimpan dengan foto sah.",
"achievement_diary_photo_days_5_title": "Catatan harian · 5 hari",
"achievement_diary_photo_days_5_description": "Lakukan ini pada 5 tanggal berbeda: entri catatan harian tersimpan dengan foto sah.",
"achievement_diary_photo_days_20_title": "Catatan harian · 20 hari",
"achievement_diary_photo_days_20_description": "Lakukan ini pada 20 tanggal berbeda: entri catatan harian tersimpan dengan foto sah.",
"achievement_diary_return_14_title": "Catatan harian · 14 hari jeda",
"achievement_diary_return_14_description": "Kembali setelah setidaknya 14 hari penuh tanpa aktivitas ini: entri catatan harian tersimpan yang berisi konten."
}
-42
View File
@@ -1,42 +0,0 @@
{
"achievement_diary_days_1_title": "Diario · 1 giorni",
"achievement_diary_days_1_description": "Fallo in 1 date distinte: una voce del diario salvata con contenuto.",
"achievement_diary_days_3_title": "Diario · 3 giorni",
"achievement_diary_days_3_description": "Fallo in 3 date distinte: una voce del diario salvata con contenuto.",
"achievement_diary_days_7_title": "Diario · 7 giorni",
"achievement_diary_days_7_description": "Fallo in 7 date distinte: una voce del diario salvata con contenuto.",
"achievement_diary_days_14_title": "Diario · 14 giorni",
"achievement_diary_days_14_description": "Fallo in 14 date distinte: una voce del diario salvata con contenuto.",
"achievement_diary_days_30_title": "Diario · 30 giorni",
"achievement_diary_days_30_description": "Fallo in 30 date distinte: una voce del diario salvata con contenuto.",
"achievement_diary_days_60_title": "Diario · 60 giorni",
"achievement_diary_days_60_description": "Fallo in 60 date distinte: una voce del diario salvata con contenuto.",
"achievement_diary_days_100_title": "Diario · 100 giorni",
"achievement_diary_days_100_description": "Fallo in 100 date distinte: una voce del diario salvata con contenuto.",
"achievement_diary_days_180_title": "Diario · 180 giorni",
"achievement_diary_days_180_description": "Fallo in 180 date distinte: una voce del diario salvata con contenuto.",
"achievement_diary_days_365_title": "Diario · 365 giorni",
"achievement_diary_days_365_description": "Fallo in 365 date distinte: una voce del diario salvata con contenuto.",
"achievement_diary_weeks_2_title": "Diario · 2 settimane",
"achievement_diary_weeks_2_description": "Fallo in 2 settimane di calendario distinte, da lunedì a domenica: una voce del diario salvata con contenuto.",
"achievement_diary_weeks_4_title": "Diario · 4 settimane",
"achievement_diary_weeks_4_description": "Fallo in 4 settimane di calendario distinte, da lunedì a domenica: una voce del diario salvata con contenuto.",
"achievement_diary_weeks_12_title": "Diario · 12 settimane",
"achievement_diary_weeks_12_description": "Fallo in 12 settimane di calendario distinte, da lunedì a domenica: una voce del diario salvata con contenuto.",
"achievement_diary_weeks_26_title": "Diario · 26 settimane",
"achievement_diary_weeks_26_description": "Fallo in 26 settimane di calendario distinte, da lunedì a domenica: una voce del diario salvata con contenuto.",
"achievement_diary_months_3_title": "Diario · 3 mesi",
"achievement_diary_months_3_description": "Fallo in 3 mesi di calendario distinti: una voce del diario salvata con contenuto.",
"achievement_diary_months_6_title": "Diario · 6 mesi",
"achievement_diary_months_6_description": "Fallo in 6 mesi di calendario distinti: una voce del diario salvata con contenuto.",
"achievement_diary_months_12_title": "Diario · 12 mesi",
"achievement_diary_months_12_description": "Fallo in 12 mesi di calendario distinti: una voce del diario salvata con contenuto.",
"achievement_diary_photo_days_1_title": "Diario · 1 giorni",
"achievement_diary_photo_days_1_description": "Fallo in 1 date distinte: una voce salvata del diario contenente una foto valida.",
"achievement_diary_photo_days_5_title": "Diario · 5 giorni",
"achievement_diary_photo_days_5_description": "Fallo in 5 date distinte: una voce salvata del diario contenente una foto valida.",
"achievement_diary_photo_days_20_title": "Diario · 20 giorni",
"achievement_diary_photo_days_20_description": "Fallo in 20 date distinte: una voce salvata del diario contenente una foto valida.",
"achievement_diary_return_14_title": "Diario · 14 giorni di pausa",
"achievement_diary_return_14_description": "Ritorna dopo almeno 14 giorni interi senza questa attività: una voce del diario salvata con contenuto."
}
+27 -8
View File
@@ -1,34 +1,37 @@
#import "geometry"
#import, file "diary_date.zi";
#import "image_props"
#import "image_widget"
#import "kryon/Kryon"
#import "kryon/box_widget"
#import "kryon/button_widget"
#import "kryon/image_widget"
#import "kryon/press_widget"
#import "kryon/scroll_widget"
#import "kryon/text_area_widget"
#import "kryon/text_widget"
#import "kryon/layout"
#import "layout"
#import "text_props"
#import "text_widget"
#import "text_measure"
#import "text_input_props"
#import "text_area_widget"
#import "button_props"
#import "button_widget"
#import "control_props"
#import "drawing_props"
#import "box_props"
#import "box_widget"
#import "text_align"
#import "text"
#import "vec"
#import "byte_text_linux"
#import "scroll_props"
#import "scroll_widget"
#import "press_props"
#import "press_widget"
#import "tree"
#import "kryon/tree"
#import, file "diary_markdown.zi";
#import, file "diary_types.zi";
#import, file "diary_ui_types.zi";
#import "kryon/app_context"
#import "json_scan"
#import, file "diary_wire.zi";
CompressionIcon :: #import "mingcute/mingcute_regular_tool";
using ImageFit;
using TextAlign;
@@ -381,6 +384,22 @@ DiaryView :: (message: DiaryMessage, observed: DiaryUiFrame, today: Date) -> Dia
title_width = width - 2.0 * (control + gap)
}
title_left := left + (width - title_width) / 2.0
compression := AppSupports("media.compression.open")
if compression {
title_width = title_width - control - gap
if title_width < control {
title_width = control
}
title_left = left + (width - control - gap - title_width) / 2.0
if Button(frame.session, ButtonProps.{.id = 29018,
.bounds = Rectangle.{left + width - control, top, control, control},
.label = AppLocale("media_compression_title"), .icon_only = true,
.icon_shape = CompressionIcon.Shape,
.tone = cast(ButtonTone)ButtonToneNeutral,
.emphasis = cast(ButtonEmphasis)ButtonEmphasisGhost}) != 0 {
unused AppService("media.compression.open", "")
}
}
DiaryAction(29001, "‹", Rectangle.{title_left - gap - control, top, control, control},
true, DIARY_PREVIOUS_ICON)
DiaryAction(29002, "›", Rectangle.{title_left + title_width + gap, top, control, control},
-42
View File
@@ -1,42 +0,0 @@
{
"achievement_habits_created_1_title": "Kebiasaan · 1 hasil",
"achievement_habits_created_1_description": "Catat 1 hasil berbeda: kebiasaan sah yang disimpan.",
"achievement_habits_days_1_title": "Kebiasaan · 1 hari",
"achievement_habits_days_1_description": "Lakukan ini pada 1 tanggal berbeda: hari kebiasaan yang diselesaikan.",
"achievement_habits_days_3_title": "Kebiasaan · 3 hari",
"achievement_habits_days_3_description": "Lakukan ini pada 3 tanggal berbeda: hari kebiasaan yang diselesaikan.",
"achievement_habits_days_7_title": "Kebiasaan · 7 hari",
"achievement_habits_days_7_description": "Lakukan ini pada 7 tanggal berbeda: hari kebiasaan yang diselesaikan.",
"achievement_habits_days_14_title": "Kebiasaan · 14 hari",
"achievement_habits_days_14_description": "Lakukan ini pada 14 tanggal berbeda: hari kebiasaan yang diselesaikan.",
"achievement_habits_days_30_title": "Kebiasaan · 30 hari",
"achievement_habits_days_30_description": "Lakukan ini pada 30 tanggal berbeda: hari kebiasaan yang diselesaikan.",
"achievement_habits_days_60_title": "Kebiasaan · 60 hari",
"achievement_habits_days_60_description": "Lakukan ini pada 60 tanggal berbeda: hari kebiasaan yang diselesaikan.",
"achievement_habits_days_100_title": "Kebiasaan · 100 hari",
"achievement_habits_days_100_description": "Lakukan ini pada 100 tanggal berbeda: hari kebiasaan yang diselesaikan.",
"achievement_habits_days_180_title": "Kebiasaan · 180 hari",
"achievement_habits_days_180_description": "Lakukan ini pada 180 tanggal berbeda: hari kebiasaan yang diselesaikan.",
"achievement_habits_days_365_title": "Kebiasaan · 365 hari",
"achievement_habits_days_365_description": "Lakukan ini pada 365 tanggal berbeda: hari kebiasaan yang diselesaikan.",
"achievement_habits_completions_10_title": "Kebiasaan · 10 hasil",
"achievement_habits_completions_10_description": "Catat 10 hasil berbeda: hari kebiasaan yang diselesaikan.",
"achievement_habits_completions_50_title": "Kebiasaan · 50 hasil",
"achievement_habits_completions_50_description": "Catat 50 hasil berbeda: hari kebiasaan yang diselesaikan.",
"achievement_habits_completions_100_title": "Kebiasaan · 100 hasil",
"achievement_habits_completions_100_description": "Catat 100 hasil berbeda: hari kebiasaan yang diselesaikan.",
"achievement_habits_completions_500_title": "Kebiasaan · 500 hasil",
"achievement_habits_completions_500_description": "Catat 500 hasil berbeda: hari kebiasaan yang diselesaikan.",
"achievement_habits_single_scheduled_days_7_title": "Kebiasaan · 7 tanggal terjadwal",
"achievement_habits_single_scheduled_days_7_description": "Untuk satu kebiasaan, selesaikan 7 tanggal terjadwal: hari kebiasaan terjadwal yang diselesaikan.",
"achievement_habits_single_scheduled_days_30_title": "Kebiasaan · 30 tanggal terjadwal",
"achievement_habits_single_scheduled_days_30_description": "Untuk satu kebiasaan, selesaikan 30 tanggal terjadwal: hari kebiasaan terjadwal yang diselesaikan.",
"achievement_habits_single_scheduled_days_100_title": "Kebiasaan · 100 tanggal terjadwal",
"achievement_habits_single_scheduled_days_100_description": "Untuk satu kebiasaan, selesaikan 100 tanggal terjadwal: hari kebiasaan terjadwal yang diselesaikan.",
"achievement_habits_counter_target_1_title": "Kebiasaan · 1 hasil",
"achievement_habits_counter_target_1_description": "Catat 1 hasil berbeda: target kebiasaan hitungan yang tercapai.",
"achievement_habits_question_answer_1_title": "Kebiasaan · 1 hasil",
"achievement_habits_question_answer_1_description": "Catat 1 hasil berbeda: jawaban nyata untuk pertanyaan kebiasaan yang disimpan.",
"achievement_habits_ended_span_1_title": "Kebiasaan · 1 hasil",
"achievement_habits_ended_span_1_description": "Catat 1 hasil berbeda: rentang waktu kebiasaan tersimpan dengan awal dan akhir yang sah."
}
-42
View File
@@ -1,42 +0,0 @@
{
"achievement_habits_created_1_title": "Abitudini · 1 risultati",
"achievement_habits_created_1_description": "Registra 1 risultati distinti: un’abitudine valida salvata.",
"achievement_habits_days_1_title": "Abitudini · 1 giorni",
"achievement_habits_days_1_description": "Fallo in 1 date distinte: un giorno di abitudine completato.",
"achievement_habits_days_3_title": "Abitudini · 3 giorni",
"achievement_habits_days_3_description": "Fallo in 3 date distinte: un giorno di abitudine completato.",
"achievement_habits_days_7_title": "Abitudini · 7 giorni",
"achievement_habits_days_7_description": "Fallo in 7 date distinte: un giorno di abitudine completato.",
"achievement_habits_days_14_title": "Abitudini · 14 giorni",
"achievement_habits_days_14_description": "Fallo in 14 date distinte: un giorno di abitudine completato.",
"achievement_habits_days_30_title": "Abitudini · 30 giorni",
"achievement_habits_days_30_description": "Fallo in 30 date distinte: un giorno di abitudine completato.",
"achievement_habits_days_60_title": "Abitudini · 60 giorni",
"achievement_habits_days_60_description": "Fallo in 60 date distinte: un giorno di abitudine completato.",
"achievement_habits_days_100_title": "Abitudini · 100 giorni",
"achievement_habits_days_100_description": "Fallo in 100 date distinte: un giorno di abitudine completato.",
"achievement_habits_days_180_title": "Abitudini · 180 giorni",
"achievement_habits_days_180_description": "Fallo in 180 date distinte: un giorno di abitudine completato.",
"achievement_habits_days_365_title": "Abitudini · 365 giorni",
"achievement_habits_days_365_description": "Fallo in 365 date distinte: un giorno di abitudine completato.",
"achievement_habits_completions_10_title": "Abitudini · 10 risultati",
"achievement_habits_completions_10_description": "Registra 10 risultati distinti: un giorno di abitudine completato.",
"achievement_habits_completions_50_title": "Abitudini · 50 risultati",
"achievement_habits_completions_50_description": "Registra 50 risultati distinti: un giorno di abitudine completato.",
"achievement_habits_completions_100_title": "Abitudini · 100 risultati",
"achievement_habits_completions_100_description": "Registra 100 risultati distinti: un giorno di abitudine completato.",
"achievement_habits_completions_500_title": "Abitudini · 500 risultati",
"achievement_habits_completions_500_description": "Registra 500 risultati distinti: un giorno di abitudine completato.",
"achievement_habits_single_scheduled_days_7_title": "Abitudini · 7 date programmate",
"achievement_habits_single_scheduled_days_7_description": "Per una stessa abitudine, completa 7 date programmate: un giorno programmato di abitudine completato.",
"achievement_habits_single_scheduled_days_30_title": "Abitudini · 30 date programmate",
"achievement_habits_single_scheduled_days_30_description": "Per una stessa abitudine, completa 30 date programmate: un giorno programmato di abitudine completato.",
"achievement_habits_single_scheduled_days_100_title": "Abitudini · 100 date programmate",
"achievement_habits_single_scheduled_days_100_description": "Per una stessa abitudine, completa 100 date programmate: un giorno programmato di abitudine completato.",
"achievement_habits_counter_target_1_title": "Abitudini · 1 risultati",
"achievement_habits_counter_target_1_description": "Registra 1 risultati distinti: l’obiettivo raggiunto di un’abitudine a conteggio.",
"achievement_habits_question_answer_1_title": "Abitudini · 1 risultati",
"achievement_habits_question_answer_1_description": "Registra 1 risultati distinti: una risposta autentica salvata a una domanda dell’abitudine.",
"achievement_habits_ended_span_1_title": "Abitudini · 1 risultati",
"achievement_habits_ended_span_1_description": "Registra 1 risultati distinti: un intervallo di abitudine salvato con inizio e fine validi."
}
+2 -1
View File
@@ -2,7 +2,8 @@
// the same composition for older installed packages that lack these views.
#import "session"
#import "modal_props"
#import "modal_widget"
#import "kryon/Kryon"
#import "kryon/modal_widget"
#import "control_props"
using ButtonTone;
+11 -9
View File
@@ -7,35 +7,37 @@
// for an entry's time, or a span's start and end, and its questions. The
// host keeps the habits, their entries and sessions and does what the page
// asks once it is drawn.
#import "kryon/Widgets"
#import "session"
#import "geometry"
#import "vec"
#import "dpi"
#import "kryon/layout"
#import "layout"
#import "drawing_props"
#import "text_props"
#import "text_align"
#import "text_widget"
#import "text_measure"
#import "text_input_props"
#import "text_field_widget"
#import "button_props"
#import "button_widget"
#import "control_props"
#import "box_props"
#import "box_widget"
#import "image_props"
#import "scroll_props"
#import "scroll_widget"
#import "modal_props"
#import "modal_frame_widget"
#import "time_picker_props"
#import "time_picker_widget"
#import "kryon/Kryon"
#import "kryon/box_widget"
#import "kryon/button_widget"
#import "kryon/modal_frame_widget"
#import "kryon/scroll_widget"
#import "kryon/text_field_widget"
#import "kryon/text_widget"
#import "kryon/title_bar_widget"
#import "title_bar_props"
#import "title_bar_widget"
#import "dropdown_props"
#import "semantic"
#import "tree"
#import "kryon/tree"
#import, file "../../src/apps/habits_ui_types.zi";
#import, file "../../src/apps/habits_types.zi";
#import, file "../../src/habits/habit_types.zi";
+16 -17
View File
@@ -5,49 +5,48 @@
// done). The host keeps the habit being edited; the editor changes it and
// asks the host to save it, delete it, open the practice picker, or add or
// remove a question.
#import "kryon/Widgets"
#import "session"
#import "geometry"
#import "vec"
#import "dpi"
#import "kryon/layout"
#import "layout"
#import "drawing_props"
#import "semantic"
#import "text_props"
#import "text_align"
#import "text_widget"
#import "text_measure"
#import "text_input_props"
#import "text_field_widget"
#import "text_area_widget"
#import "button_props"
#import "button_widget"
#import "control_props"
#import "box_props"
#import "box_widget"
#import "checkbox_props"
#import "checkbox_widget"
#import "kryon/Kryon"
#import "kryon/spinbox"
#import "kryon/box_widget"
#import "kryon/button_widget"
#import "kryon/dropdown_widget"
#import "kryon/modal_frame_widget"
#import "kryon/scroll_widget"
#import "kryon/text_area_widget"
#import "kryon/text_field_widget"
#import "kryon/text_widget"
#import "kryon/title_bar_widget"
#import "kryon/toggle_widget"
#import "dropdown_props"
#import "dropdown_widget"
#import "fieldset_props"
#import "fieldset_widget"
#import "modal_props"
#import "modal_frame_widget"
#import "scroll_props"
#import "scroll_widget"
#import "segmented_control_props"
#import "segmented_control_widget"
#import "spinbox_props"
#import "spinbox_widget"
#import "svg_icon_props"
#import "svg_icon_widget"
#import "kryon/svg_icon_widget"
#import "time_picker_props"
#import "time_picker_widget"
#import "title_bar_props"
#import "title_bar_widget"
#import "toggle_props"
#import "toggle_widget"
#import "toggle_measure"
#import "tree"
#import "kryon/tree"
#import, file "../../src/apps/habits_ui_types.zi";
#import, file "../../src/apps/habits_types.zi";
#import, file "../../src/habits/habit_types.zi";
+11 -8
View File
@@ -6,34 +6,37 @@
// below the table. A habit's page lists its days, or shows them on a
// calendar. The host keeps the habits and their days and does what the
// page asks once it is drawn.
#import "kryon/Widgets"
#import "session"
#import "geometry"
#import "vec"
#import "dpi"
#import "kryon/layout"
#import "layout"
#import "drawing_props"
#import "date_parse"
#import "text_props"
#import "text_align"
#import "text_widget"
#import "text_measure"
#import "button_props"
#import "button_widget"
#import "control_props"
#import "box_props"
#import "box_widget"
#import "press_props"
#import "press_widget"
#import "pointer_input"
#import "input_protocol"
#import "scroll_props"
#import "scroll_widget"
#import "segmented_control_props"
#import "segmented_control_widget"
#import "kryon/Kryon"
#import "kryon/box_widget"
#import "kryon/button_widget"
#import "kryon/press_widget"
#import "kryon/scroll_widget"
#import "kryon/shape_widget"
#import "kryon/text_widget"
#import "svg_icon_props"
#import "svg_icon_widget"
#import "kryon/svg_icon_widget"
#import "icon"
#import "tree"
#import "kryon/tree"
#import, file "../../src/apps/habits_ui_types.zi";
#import, file "../../src/apps/habits_types.zi";
#import, file "../../src/habits/habit_types.zi";
+8 -6
View File
@@ -8,23 +8,25 @@
#import "geometry"
#import "vec"
#import "dpi"
#import "kryon/layout"
#import "layout"
#import "drawing_props"
#import "semantic"
#import "text_props"
#import "text_align"
#import "text_widget"
#import "kryon/Kryon"
#import "kryon/box_widget"
#import "kryon/button_widget"
#import "kryon/scroll_widget"
#import "kryon/shape_widget"
#import "kryon/text_widget"
#import "text_measure"
#import "button_props"
#import "button_widget"
#import "control_props"
#import "box_props"
#import "box_widget"
#import "scroll_props"
#import "scroll_widget"
#import "tree"
#import "kryon/tree"
#import "shape_props"
#import "shape_widget"
#import "plot/band_chart"
#import "plot/band_chart_props"
#import, file "../../src/apps/habits_ui_types.zi";
+4
View File
@@ -3,6 +3,7 @@
#import, file "../../src/apps/habits_types.zi";
#import, file "habits_view.zi";
#import, file "shop_view.zi";
#import, file "shop_stats_view.zi";
#import, file "habit_list_view.zi";
#import, file "habit_day_view.zi";
#import, file "habit_edit_view.zi";
@@ -39,6 +40,9 @@ HabitsApply :: (message: HabitsMessage) -> HabitsMessage {
if message.action == HABITS_UNSAVED_DIALOG || message.action == HABITS_DELETE_DIALOG {
return HabitsEditorView(message)
}
if message.action == HABITS_SHOP_STATS_VIEW {
return HabitsShopStatisticsView(message)
}
if message.action == HABITS_SHOP_VIEW || message.action == HABITS_SHOP_BUY_DIALOG {
return HabitsShopView(message)
}
+7 -5
View File
@@ -5,19 +5,21 @@
#import "geometry"
#import "vec"
#import "dpi"
#import "kryon/layout"
#import "layout"
#import "drawing_props"
#import "text_props"
#import "text_align"
#import "text_widget"
#import "kryon/Kryon"
#import "kryon/box_widget"
#import "kryon/button_widget"
#import "kryon/modal_frame_widget"
#import "kryon/text_widget"
#import "button_props"
#import "button_widget"
#import "control_props"
#import "box_props"
#import "box_widget"
#import "modal_props"
#import "modal_frame_widget"
#import "tree"
#import "kryon/tree"
#import, file "../../src/apps/habits_ui_types.zi";
#import, file "../../src/apps/habits_types.zi";
#import, file "../../src/app/color.zi";
+241
View File
@@ -0,0 +1,241 @@
// A separate, read-only view of the persisted shop purchase history.
#import, file "shop_view.zi";
#import, file "../../src/apps/habits_types.zi";
#import, file "../../src/apps/habits_ui_types.zi";
#import "kryon/Kryon"
#import "kryon/box_widget"
#import "kryon/scroll_widget"
#import "kryon/text_widget"
#import "text_props"
#import "text_measure"
#import "kryon/layout"
#import "text_align"
#import "scroll_props"
#import "kryon/tree"
#import "vec"
#import "box_props"
using TextWrap;
host_api :: #system_library "host_api";
ReadHabitsShopHost :: () -> HabitsShopFrame #foreign host_api;
WriteHabitsShopHost :: (frame: HabitsShopFrame) #foreign host_api;
ReadHabitRewardHost :: (index: s32) -> HabitsShopReward #foreign host_api;
PurchaseDate :: (date: s32) -> string {
month := (date / 100) % 100
day := date % 100
out: Vec(u8)
BuilderPrint(*out, "%-", date / 10000)
if month < 10 {
BuilderPrint(*out, "0")
}
BuilderPrint(*out, "%-", month)
if day < 10 {
BuilderPrint(*out, "0")
}
BuilderPrint(*out, "%", day)
return BuilderFinish(out)
}
RewardStatisticsText :: (reward: HabitsShopReward) -> string {
out: Vec(u8)
BuilderPrint(*out, "%: % · %: %", Locale("habit_shop_stats_purchases"),
reward.statistics.purchase_count, Locale("habit_shop_stats_month"),
reward.statistics.month_count)
return BuilderFinish(out)
}
RewardStatisticsHeight :: (reward: HabitsShopReward, width: s32) -> s32 {
inner := width - Scale(SHOP_CARD_PADDING * 2 + 10)
height := ParagraphHeight(RewardStatisticsText(reward), inner, shop.small_font)
if reward.statistics.purchase_count > 0 {
height += Scale(4) + ParagraphHeight(Filled(Locale("habit_shop_stats_last"),
PurchaseDate(reward.statistics.last_date)), inner, shop.small_font)
}
return height + Scale(14)
}
StatisticsColor :: (index: s32) -> Color {
colors: [4]Color = .[Color.{63, 137, 216, 255}, Color.{196, 141, 39, 255},
Color.{48, 159, 128, 255}, Color.{155, 104, 207, 255}]
return colors[index]
}
StatisticsLabel :: (index: s32) -> string {
keys: [4]string = .["habit_shop_stats_purchases", "habit_shop_stats_spent",
"habit_shop_stats_week", "habit_shop_stats_month"]
return Locale(keys[index])
}
StatisticsValue :: (index: s32) -> string {
values: [4]s64 = .[shop.statistics.purchase_count, shop.statistics.spent_coins,
shop.statistics.week_count, shop.statistics.month_count]
return Number(values[index])
}
StatisticsColumns :: (width: s32) -> s32 {
return ifx width >= Scale(280) then 2 else 1
}
StatisticsInnerWidth :: (width: s32) -> s32 {
return (width - Scale(8) * (StatisticsColumns(width) - 1)) /
StatisticsColumns(width) - Scale(32)
}
StatisticsNumberHeight :: (width: s32) -> s32 {
height := Scale(30)
for index: cast(s32)0..3 {
value_h := TextHeight(shop.session, TextProps.{.text = StatisticsValue(index),
.font = shop.font + Scale(6),
.bounds = Bounds(0, 0, StatisticsInnerWidth(width), 0),
.wrap = cast(TextWrap)TextWrapAnywhere})
if value_h > height {
height = value_h
}
}
return height
}
StatisticsCardHeight :: (width: s32) -> s32 {
inner := StatisticsInnerWidth(width)
height: s32 = 0
for index: cast(s32)0..3 {
label_h := ParagraphHeight(StatisticsLabel(index), inner, shop.small_font)
if label_h > height {
height = label_h
}
}
return height + StatisticsNumberHeight(width) + Scale(34)
}
StatisticsHeight :: (width: s32) -> s32 {
title_h := SectionTitleHeight(Locale("habit_shop_stats_title"), width) + Scale(10)
if shop.statistics.purchase_count == 0 {
return title_h + ParagraphHeight(Locale("habit_shop_stats_empty"), width,
shop.small_font)
}
rows := 4 / StatisticsColumns(width)
last := Filled(Locale("habit_shop_stats_last"), PurchaseDate(shop.statistics.last_date))
return title_h + rows * StatisticsCardHeight(width) + rows * Scale(8) +
ParagraphHeight(last, width, shop.small_font)
}
Statistics :: (x: s32, y: s32, width: s32) {
y += SectionTitle(Locale("habit_shop_stats_title"), x, y, width) + Scale(10)
if shop.statistics.purchase_count == 0 {
text := Locale("habit_shop_stats_empty")
Text(shop.session, TextProps.{.bounds = Bounds(x, y, width,
ParagraphHeight(text, width, shop.small_font)), .text = text,
.font = shop.small_font, .class_name = shop.muted_class,
.wrap = cast(TextWrap)TextWrapAuto})
return
}
columns := StatisticsColumns(width)
card_w := (width - Scale(8) * (columns - 1)) / columns
card_h := StatisticsCardHeight(width)
number_h := StatisticsNumberHeight(width)
for index: cast(s32)0..3 {
card_x := x + (index % columns) * (card_w + Scale(8))
card_y := y + (index / columns) * (card_h + Scale(8))
Card(Bounds(card_x, card_y, card_w, card_h), "")
Box(shop.session, BoxProps.{.bounds = Bounds(card_x, card_y + Scale(12),
Scale(4), card_h - Scale(24)), .fill = StatisticsColor(index)})
value := StatisticsValue(index)
strong: [1]TextRange
strong[0] = TextRange.{.start = 0, .end = cast(s32)value.count}
Text(shop.session, TextProps.{.bounds = Bounds(card_x + Scale(16),
card_y + Scale(12), card_w - Scale(32), number_h),
.text = value, .font = shop.font + Scale(6), .strong = strong[:],
.wrap = cast(TextWrap)TextWrapAnywhere})
Text(shop.session, TextProps.{.bounds = Bounds(card_x + Scale(16),
card_y + number_h + Scale(18), card_w - Scale(32), card_h - number_h - Scale(30)),
.text = StatisticsLabel(index), .font = shop.small_font,
.class_name = shop.muted_class, .wrap = cast(TextWrap)TextWrapAuto})
}
last := Filled(Locale("habit_shop_stats_last"), PurchaseDate(shop.statistics.last_date))
last_y := y + (4 / columns) * (card_h + Scale(8))
Text(shop.session, TextProps.{.bounds = Bounds(x, last_y, width,
ParagraphHeight(last, width, shop.small_font)), .text = last,
.font = shop.small_font, .class_name = shop.muted_class,
.wrap = cast(TextWrap)TextWrapAuto})
}
StatisticsRewardHeight :: (index: s32, width: s32) -> s32 {
reward := ReadHabitRewardHost(index)
return ParagraphHeight(reward.name, width - Scale(32), shop.font) +
RewardStatisticsHeight(reward, width) + Scale(32)
}
StatisticsReward :: (index: s32, x: s32, y: s32, width: s32) -> s32 {
reward := ReadHabitRewardHost(index)
height := StatisticsRewardHeight(index, width)
Card(Bounds(x, y, width, height), "")
pad := Scale(16)
inner := width - pad * 2
name_h := ParagraphHeight(reward.name, inner, shop.font)
Text(shop.session, TextProps.{.bounds = Bounds(x + pad, y + pad, inner, name_h),
.text = reward.name, .wrap = cast(TextWrap)TextWrapAuto})
text := RewardStatisticsText(reward)
text_h := ParagraphHeight(text, inner, shop.small_font)
line_y := y + pad + name_h + Scale(8)
Text(shop.session, TextProps.{.bounds = Bounds(x + pad, line_y, inner, text_h),
.text = text, .font = shop.small_font, .wrap = cast(TextWrap)TextWrapAuto})
if reward.statistics.purchase_count > 0 {
last := Filled(Locale("habit_shop_stats_last"),
PurchaseDate(reward.statistics.last_date))
Text(shop.session, TextProps.{.bounds = Bounds(x + pad,
line_y + text_h + Scale(4), inner,
ParagraphHeight(last, inner, shop.small_font)),
.text = last, .font = shop.small_font,
.class_name = shop.muted_class, .wrap = cast(TextWrap)TextWrapAuto})
}
return height
}
ShopStatisticsPage :: () {
bounds := shop.bounds
width := cast(s32)bounds.width
x := cast(s32)bounds.x
if width > Scale(SHOP_COLUMN_MAX) {
x += (width - Scale(SHOP_COLUMN_MAX)) / 2
width = Scale(SHOP_COLUMN_MAX)
}
top := PageHeader(x, cast(s32)bounds.y, width,
Locale("habit_shop_stats_title"), "")
if top < 0 {
shop.action = HABITS_SHOP_STATS_BACK
return
}
content_width := width - Scale(SHOP_SCROLLBAR_ROOM)
gap := Scale(SHOP_GAP)
content_h := StatisticsHeight(content_width) + gap
for index: cast(s32)0..shop.reward_count - 1 {
content_h += StatisticsRewardHeight(index, content_width) + gap
}
scrolled := Scroll(shop.session, ScrollProps.{
.key = KeyHash("inbe/habits/shop/statistics"),
.bounds = Bounds(x, top, width,
cast(s32)(bounds.y + bounds.height) - top),
.content_height = content_h, .scroll_offset = shop.scroll})
shop.scroll = scrolled.scroll_offset
if !scrolled.opened {
return
}
y := cast(s32)scrolled.content.y
Statistics(x, y, content_width)
y += StatisticsHeight(content_width) + gap
for index: cast(s32)0..shop.reward_count - 1 {
y += StatisticsReward(index, x, y, content_width) + gap
}
unused End(shop.session)
}
HabitsShopStatisticsView :: (message: HabitsMessage) -> HabitsMessage {
shop = ReadHabitsShopHost()
shop.action = HABITS_SHOP_NONE
shop.clipboard_write = false
ShopStatisticsPage()
WriteHabitsShopHost(shop)
message.succeeded = true
return message
}
+45 -178
View File
@@ -8,29 +8,31 @@
#import "geometry"
#import "vec"
#import "dpi"
#import "kryon/layout"
#import "layout"
#import "drawing_props"
#import "semantic"
#import "text_props"
#import "text_align"
#import "text_widget"
#import "kryon/Kryon"
#import "kryon/box_widget"
#import "kryon/button_widget"
#import "kryon/image_widget"
#import "kryon/modal_frame_widget"
#import "kryon/scroll_widget"
#import "kryon/text_field_widget"
#import "kryon/text_widget"
#import "text_measure"
#import "text_input_props"
#import "text_field_widget"
#import "button_props"
#import "button_widget"
#import "control_props"
#import "box_props"
#import "box_widget"
#import "modal_props"
#import "modal_frame_widget"
#import "scroll_props"
#import "scroll_widget"
#import "image_props"
#import "image_widget"
#import "svg_icon_props"
#import "svg_icon_widget"
#import "tree"
#import "kryon/svg_icon_widget"
#import "kryon/tree"
#import, file "../../src/apps/habits_ui_types.zi";
#import, file "../../src/apps/habits_types.zi";
#import, file "../../src/habits/habit_types.zi";
@@ -50,7 +52,7 @@ RewardSymbol :: (icon: s32, bounds: Rectangle) {
Image(shop.session, picture)
} else {
SvgIcon(shop.session, SvgIconProps.{.bounds = bounds,
.shape = HabitIconShape(icon), .color = shop.text_color})
.shape = RewardIconShape(icon), .color = shop.text_color})
}
}
@@ -624,43 +626,9 @@ RewardMainHeight :: (reward: HabitsShopReward, width: s32) -> s32 {
return name_h + Scale(SHOP_CARD_PADDING) * 2 + Scale(48)
}
PurchaseDate :: (date: s32) -> string {
month := (date / 100) % 100
day := date % 100
out: Vec(u8)
BuilderPrint(*out, "%-", date / 10000)
if month < 10 {
BuilderPrint(*out, "0")
}
BuilderPrint(*out, "%-", month)
if day < 10 {
BuilderPrint(*out, "0")
}
BuilderPrint(*out, "%", day)
return BuilderFinish(out)
}
RewardStatisticsText :: (reward: HabitsShopReward) -> string {
out: Vec(u8)
BuilderPrint(*out, "%: % · %: %", Locale("habit_shop_stats_purchases"),
reward.statistics.purchase_count, Locale("habit_shop_stats_month"),
reward.statistics.month_count)
return BuilderFinish(out)
}
RewardStatisticsHeight :: (reward: HabitsShopReward, width: s32) -> s32 {
inner := width - Scale(SHOP_CARD_PADDING * 2 + 10)
height := ParagraphHeight(RewardStatisticsText(reward), inner, shop.small_font)
if reward.statistics.purchase_count > 0 {
height += Scale(4) + ParagraphHeight(Filled(Locale("habit_shop_stats_last"),
PurchaseDate(reward.statistics.last_date)), inner, shop.small_font)
}
return height + Scale(14)
}
RewardRowHeight :: (index: s32, width: s32) -> s32 {
reward := ReadHabitRewardHost(index)
return RewardMainHeight(reward, width) + RewardStatisticsHeight(reward, width)
return RewardMainHeight(reward, width)
}
RewardRow :: (index: s32, x: s32, y: s32, width: s32) -> s32 {
@@ -708,132 +676,10 @@ RewardRow :: (index: s32, x: s32, y: s32, width: s32) -> s32 {
shop.price_focused = false
shop.action = HABITS_SHOP_BUY
}
statistics_y := y + main_height
statistics_x := x + pad + Scale(10)
statistics_w := width - pad * 2 - Scale(10)
Box(shop.session, BoxProps.{.bounds = Bounds(x + pad, statistics_y,
Scale(3), height - main_height - Scale(10)), .fill = StatisticsColor(0)})
text := RewardStatisticsText(reward)
text_h := ParagraphHeight(text, statistics_w, shop.small_font)
Text(shop.session, TextProps.{.bounds = Bounds(statistics_x, statistics_y,
statistics_w, text_h), .text = text, .font = shop.small_font,
.wrap = cast(TextWrap)TextWrapAuto})
if reward.statistics.purchase_count > 0 {
statistics_y += text_h + Scale(4)
last := Filled(Locale("habit_shop_stats_last"), PurchaseDate(reward.statistics.last_date))
Text(shop.session, TextProps.{.bounds = Bounds(statistics_x, statistics_y,
statistics_w, ParagraphHeight(last, statistics_w, shop.small_font)),
.text = last, .font = shop.small_font, .class_name = shop.muted_class,
.wrap = cast(TextWrap)TextWrapAuto})
}
return height
}
StatisticsColor :: (index: s32) -> Color {
colors: [4]Color = .[Color.{63, 137, 216, 255}, Color.{196, 141, 39, 255},
Color.{48, 159, 128, 255}, Color.{155, 104, 207, 255}]
return colors[index]
}
StatisticsLabel :: (index: s32) -> string {
keys: [4]string = .["habit_shop_stats_purchases", "habit_shop_stats_spent",
"habit_shop_stats_week", "habit_shop_stats_month"]
return Locale(keys[index])
}
StatisticsValue :: (index: s32) -> string {
values: [4]s64 = .[shop.statistics.purchase_count, shop.statistics.spent_coins,
shop.statistics.week_count, shop.statistics.month_count]
return Number(values[index])
}
StatisticsColumns :: (width: s32) -> s32 {
return ifx width >= Scale(280) then 2 else 1
}
StatisticsInnerWidth :: (width: s32) -> s32 {
return (width - Scale(8) * (StatisticsColumns(width) - 1)) /
StatisticsColumns(width) - Scale(32)
}
StatisticsNumberHeight :: (width: s32) -> s32 {
height := Scale(30)
for index: cast(s32)0..3 {
value_h := TextHeight(shop.session, TextProps.{.text = StatisticsValue(index),
.font = shop.font + Scale(6),
.bounds = Bounds(0, 0, StatisticsInnerWidth(width), 0),
.wrap = cast(TextWrap)TextWrapAnywhere})
if value_h > height {
height = value_h
}
}
return height
}
StatisticsCardHeight :: (width: s32) -> s32 {
inner := StatisticsInnerWidth(width)
height: s32 = 0
for index: cast(s32)0..3 {
label_h := ParagraphHeight(StatisticsLabel(index), inner, shop.small_font)
if label_h > height {
height = label_h
}
}
return height + StatisticsNumberHeight(width) + Scale(34)
}
StatisticsHeight :: (width: s32) -> s32 {
title_h := SectionTitleHeight(Locale("habit_shop_stats_title"), width) + Scale(10)
if shop.statistics.purchase_count == 0 {
return title_h + ParagraphHeight(Locale("habit_shop_stats_empty"), width,
shop.small_font)
}
rows := 4 / StatisticsColumns(width)
last := Filled(Locale("habit_shop_stats_last"), PurchaseDate(shop.statistics.last_date))
return title_h + rows * StatisticsCardHeight(width) + rows * Scale(8) +
ParagraphHeight(last, width, shop.small_font)
}
Statistics :: (x: s32, y: s32, width: s32) {
y += SectionTitle(Locale("habit_shop_stats_title"), x, y, width) + Scale(10)
if shop.statistics.purchase_count == 0 {
text := Locale("habit_shop_stats_empty")
Text(shop.session, TextProps.{.bounds = Bounds(x, y, width,
ParagraphHeight(text, width, shop.small_font)), .text = text,
.font = shop.small_font, .class_name = shop.muted_class,
.wrap = cast(TextWrap)TextWrapAuto})
return
}
columns := StatisticsColumns(width)
card_w := (width - Scale(8) * (columns - 1)) / columns
card_h := StatisticsCardHeight(width)
number_h := StatisticsNumberHeight(width)
for index: cast(s32)0..3 {
card_x := x + (index % columns) * (card_w + Scale(8))
card_y := y + (index / columns) * (card_h + Scale(8))
Card(Bounds(card_x, card_y, card_w, card_h), "")
Box(shop.session, BoxProps.{.bounds = Bounds(card_x, card_y + Scale(12),
Scale(4), card_h - Scale(24)), .fill = StatisticsColor(index)})
value := StatisticsValue(index)
strong: [1]TextRange
strong[0] = TextRange.{.start = 0, .end = cast(s32)value.count}
Text(shop.session, TextProps.{.bounds = Bounds(card_x + Scale(16),
card_y + Scale(12), card_w - Scale(32), number_h),
.text = value, .font = shop.font + Scale(6), .strong = strong[:],
.wrap = cast(TextWrap)TextWrapAnywhere})
Text(shop.session, TextProps.{.bounds = Bounds(card_x + Scale(16),
card_y + number_h + Scale(18), card_w - Scale(32), card_h - number_h - Scale(30)),
.text = StatisticsLabel(index), .font = shop.small_font,
.class_name = shop.muted_class, .wrap = cast(TextWrap)TextWrapAuto})
}
last := Filled(Locale("habit_shop_stats_last"), PurchaseDate(shop.statistics.last_date))
last_y := y + (4 / columns) * (card_h + Scale(8))
Text(shop.session, TextProps.{.bounds = Bounds(x, last_y, width,
ParagraphHeight(last, width, shop.small_font)), .text = last,
.font = shop.small_font, .class_name = shop.muted_class,
.wrap = cast(TextWrap)TextWrapAuto})
}
// The height of the open grid of symbols, one for each habit icon.
IconColumns :: (width: s32) -> s32 {
columns := width / Scale(SHOP_ICON_STEP_X)
if columns < 1 {
@@ -842,7 +688,6 @@ IconColumns :: (width: s32) -> s32 {
return columns
}
// The height of the open grid of symbols, one for each habit icon.
IconGridHeight :: (width: s32) -> s32 {
columns := IconColumns(width)
rows := (REWARD_ICON_COUNT + columns - 1) / columns
@@ -854,7 +699,7 @@ IconGridHeight :: (width: s32) -> s32 {
IconButton :: (bounds: Rectangle) {
if Button(shop.session, ButtonProps.{
.id = 8425, .bounds = bounds, .label = Locale("habit_icon_label"),
.icon_shape = ifx RewardIconAsset(shop.icon).count > 0 then "" else HabitIconShape(shop.icon),
.icon_shape = ifx RewardIconAsset(shop.icon).count > 0 then "" else RewardIconShape(shop.icon),
.image = RewardImage(shop.icon), .icon_only = true,
.selected = shop.icon_open, .tone = cast(ButtonTone)ButtonToneNeutral,
.emphasis = cast(ButtonEmphasis)(ifx shop.icon_open then
@@ -881,7 +726,7 @@ IconGrid :: (x: s32, y: s32, width: s32) {
Scale(SHOP_ICON_SIZE), Scale(SHOP_ICON_SIZE)),
.circle = true,
.label = Locale(RewardIconLabelKey(icon)),
.icon_shape = ifx RewardIconAsset(icon).count > 0 then "" else HabitIconShape(icon),
.icon_shape = ifx RewardIconAsset(icon).count > 0 then "" else RewardIconShape(icon),
.image = RewardImage(icon), .icon_only = true, .selected = selected,
.tone = cast(ButtonTone)(ifx selected then ButtonToneAccent else ButtonToneNeutral),
.emphasis = cast(ButtonEmphasis)(ifx selected then
@@ -1019,6 +864,32 @@ Form :: (x: s32, y: s32, width: s32) {
}
}
// Statistics remains reachable before the first purchase.
ActivityHeaderHeight :: (width: s32) -> s32 {
height := SectionTitleHeight(Locale("profile_progress_title"), width - Scale(52))
return ifx height > Scale(44) then height else Scale(44)
}
ActivityHeader :: (x: s32, y: s32, width: s32) -> s32 {
height := ActivityHeaderHeight(width)
unused SectionTitle(Locale("profile_progress_title"), x, y + (height -
SectionTitleHeight(Locale("profile_progress_title"), width - Scale(52))) / 2,
width - Scale(52))
if Button(shop.session, ButtonProps.{.id = 8430,
.bounds = Bounds(x + width - Scale(44), y, Scale(44), Scale(44)),
.label = Locale("habit_shop_stats_title"),
.icon_shape = "S1.8rr:M4 3V20H21M7 15L11 10L15 13L20 6",
.icon_only = true, .tone = cast(ButtonTone)ButtonToneNeutral,
.emphasis = cast(ButtonEmphasis)ButtonEmphasisSoft,
.disabled = shop.modal_active}) != 0 {
shop.name_focused = false
shop.price_focused = false
shop.borrow_focused = false
shop.action = HABITS_SHOP_STATS_OPEN
}
return height
}
// Draws the shop in the frame's bounds.
ShopPage :: () {
bounds := shop.bounds
@@ -1051,13 +922,11 @@ ShopPage :: () {
list_h = ParagraphHeight(empty_text, content_width, shop.font) + row_gap
}
form_h := FormHeight(content_width)
statistics_h := StatisticsHeight(content_width)
activity_title := Locale("profile_progress_title")
content_h := Scale(SHOP_BALANCE_HEIGHT) + Scale(10) + BorrowRowHeight() + gap +
statistics_h + gap + title_h + Scale(10) + list_h + gap + form_h + gap
title_h + Scale(10) + list_h + gap + form_h + gap
// The latest coins earned and spent, once there are any.
content_h += ActivityHeaderHeight(content_width) + Scale(6) + gap
if shop.activity_count > 0 {
content_h += SectionTitleHeight(activity_title, content_width) + Scale(6) + gap
for index: cast(s32)0..shop.activity_count - 1 {
content_h += ActivityRowHeight(index, content_width)
}
@@ -1074,8 +943,6 @@ ShopPage :: () {
y := cast(s32)scrolled.content.y
y += BalanceCard(x, y, content_width) + Scale(10)
y += BorrowRow(x, y, content_width) + gap
Statistics(x, y, content_width)
y += statistics_h + gap
y += SectionTitle(rewards_title, x, y, content_width) + Scale(10)
if shop.reward_count == 0 {
Text(shop.session, TextProps.{
@@ -1092,8 +959,8 @@ ShopPage :: () {
Form(x, y, content_width)
y += form_h + gap
// Activity sits below the form that adds a reward.
y += ActivityHeader(x, y, content_width) + Scale(6)
if shop.activity_count > 0 {
y += SectionTitle(activity_title, x, y, content_width) + Scale(6)
for index: cast(s32)0..shop.activity_count - 1 {
y += ActivityRow(index, x, y, content_width)
}
+4
View File
@@ -1,5 +1,9 @@
# Changelog
## [Unreleased]
- Use one modern appearance and a simpler About list with Core and app versions.
## [2.1.64] - 2026-11-05
- Bring Lumi 1.5.29, Habits 1.3.17, Practices 1.6.11, Lists 1.1.30, Diary 1.3.27 and Leaderboard 1.0.31 for Inner Breeze 2.1.63.
-22
View File
@@ -1,22 +0,0 @@
{
"achievement_self_active_1_title": "Profil diri · 1 hari",
"achievement_self_active_1_description": "Lakukan ini pada 1 tanggal berbeda: aktivitas bermakna yang disimpan.",
"achievement_self_active_3_title": "Profil diri · 3 hari",
"achievement_self_active_3_description": "Lakukan ini pada 3 tanggal berbeda: aktivitas bermakna yang disimpan.",
"achievement_self_active_7_title": "Profil diri · 7 hari",
"achievement_self_active_7_description": "Lakukan ini pada 7 tanggal berbeda: aktivitas bermakna yang disimpan.",
"achievement_self_active_14_title": "Profil diri · 14 hari",
"achievement_self_active_14_description": "Lakukan ini pada 14 tanggal berbeda: aktivitas bermakna yang disimpan.",
"achievement_self_active_30_title": "Profil diri · 30 hari",
"achievement_self_active_30_description": "Lakukan ini pada 30 tanggal berbeda: aktivitas bermakna yang disimpan.",
"achievement_self_active_60_title": "Profil diri · 60 hari",
"achievement_self_active_60_description": "Lakukan ini pada 60 tanggal berbeda: aktivitas bermakna yang disimpan.",
"achievement_self_active_100_title": "Profil diri · 100 hari",
"achievement_self_active_100_description": "Lakukan ini pada 100 tanggal berbeda: aktivitas bermakna yang disimpan.",
"achievement_self_active_180_title": "Profil diri · 180 hari",
"achievement_self_active_180_description": "Lakukan ini pada 180 tanggal berbeda: aktivitas bermakna yang disimpan.",
"achievement_self_active_365_title": "Profil diri · 365 hari",
"achievement_self_active_365_description": "Lakukan ini pada 365 tanggal berbeda: aktivitas bermakna yang disimpan.",
"achievement_self_return_14_title": "Profil diri · 14 hari jeda",
"achievement_self_return_14_description": "Kembali setelah setidaknya 14 hari penuh tanpa aktivitas ini: aktivitas bermakna yang disimpan."
}
-22
View File
@@ -1,22 +0,0 @@
{
"achievement_self_active_1_title": "Profilo personale · 1 giorni",
"achievement_self_active_1_description": "Fallo in 1 date distinte: un’attività significativa salvata.",
"achievement_self_active_3_title": "Profilo personale · 3 giorni",
"achievement_self_active_3_description": "Fallo in 3 date distinte: un’attività significativa salvata.",
"achievement_self_active_7_title": "Profilo personale · 7 giorni",
"achievement_self_active_7_description": "Fallo in 7 date distinte: un’attività significativa salvata.",
"achievement_self_active_14_title": "Profilo personale · 14 giorni",
"achievement_self_active_14_description": "Fallo in 14 date distinte: un’attività significativa salvata.",
"achievement_self_active_30_title": "Profilo personale · 30 giorni",
"achievement_self_active_30_description": "Fallo in 30 date distinte: un’attività significativa salvata.",
"achievement_self_active_60_title": "Profilo personale · 60 giorni",
"achievement_self_active_60_description": "Fallo in 60 date distinte: un’attività significativa salvata.",
"achievement_self_active_100_title": "Profilo personale · 100 giorni",
"achievement_self_active_100_description": "Fallo in 100 date distinte: un’attività significativa salvata.",
"achievement_self_active_180_title": "Profilo personale · 180 giorni",
"achievement_self_active_180_description": "Fallo in 180 date distinte: un’attività significativa salvata.",
"achievement_self_active_365_title": "Profilo personale · 365 giorni",
"achievement_self_active_365_description": "Fallo in 365 date distinte: un’attività significativa salvata.",
"achievement_self_return_14_title": "Profilo personale · 14 giorni di pausa",
"achievement_self_return_14_description": "Ritorna dopo almeno 14 giorni interi senza questa attività: un’attività significativa salvata."
}
+7 -6
View File
@@ -1,17 +1,18 @@
#import "button_props"
#import "button_widget"
#import "checkbox_props"
#import "checkbox_widget"
#import "kryon/Kryon"
#import "kryon/button_widget"
#import "kryon/scroll_widget"
#import "kryon/text_widget"
#import "kryon/toggle_widget"
#import "geometry"
#import "kryon/layout"
#import "layout"
#import "text_props"
#import "text_widget"
#import "control_props"
#import "scroll_props"
#import "scroll_widget"
#import "tree"
#import "kryon/tree"
#import "toggle_props"
#import "toggle_widget"
#import, file "../../src/apps/inbe_types.zi";
#import, file "../../src/apps/inbe_ui_types.zi";
using ButtonTone;
@@ -1,12 +0,0 @@
{
"achievement_leaderboard_check_days_1_title": "Papan peringkat · 1 hari",
"achievement_leaderboard_check_days_1_description": "Lakukan ini pada 1 tanggal berbeda: hasil Anda sendiri dilihat di papan peringkat.",
"achievement_leaderboard_check_days_3_title": "Papan peringkat · 3 hari",
"achievement_leaderboard_check_days_3_description": "Lakukan ini pada 3 tanggal berbeda: hasil Anda sendiri dilihat di papan peringkat.",
"achievement_leaderboard_check_days_7_title": "Papan peringkat · 7 hari",
"achievement_leaderboard_check_days_7_description": "Lakukan ini pada 7 tanggal berbeda: hasil Anda sendiri dilihat di papan peringkat.",
"achievement_leaderboard_check_days_30_title": "Papan peringkat · 30 hari",
"achievement_leaderboard_check_days_30_description": "Lakukan ini pada 30 tanggal berbeda: hasil Anda sendiri dilihat di papan peringkat.",
"achievement_leaderboard_practices_2_title": "Papan peringkat · 2 item berbeda",
"achievement_leaderboard_practices_2_description": "Capai 2 item berbeda melalui tindakan ini: hasil Anda sendiri dilihat di papan peringkat."
}
@@ -1,12 +0,0 @@
{
"achievement_leaderboard_check_days_1_title": "Classifica · 1 giorni",
"achievement_leaderboard_check_days_1_description": "Fallo in 1 date distinte: il tuo risultato consultato nella classifica.",
"achievement_leaderboard_check_days_3_title": "Classifica · 3 giorni",
"achievement_leaderboard_check_days_3_description": "Fallo in 3 date distinte: il tuo risultato consultato nella classifica.",
"achievement_leaderboard_check_days_7_title": "Classifica · 7 giorni",
"achievement_leaderboard_check_days_7_description": "Fallo in 7 date distinte: il tuo risultato consultato nella classifica.",
"achievement_leaderboard_check_days_30_title": "Classifica · 30 giorni",
"achievement_leaderboard_check_days_30_description": "Fallo in 30 date distinte: il tuo risultato consultato nella classifica.",
"achievement_leaderboard_practices_2_title": "Classifica · 2 elementi distinti",
"achievement_leaderboard_practices_2_description": "Raggiungi 2 elementi distinti tramite questa azione: il tuo risultato consultato nella classifica."
}
+4
View File
@@ -1,5 +1,9 @@
# Library
## [Unreleased]
- Choose text-only or picture-book reading when opening the Tao Te Ching; chapter art uses transparent backgrounds for both themes.
## [1.0.5] - 2026-10-29
- Download on Inner Breeze 2.1.61, which runs apps in a smaller format.
+17
View File
@@ -45,6 +45,11 @@ BookPositionRecord :: (index: s32) -> string {
return "tao-te-ching.position"
}
BookModeRecord :: (index: s32) -> string {
unused index
return "tao-te-ching.mode"
}
BookAnnotationsRecord :: (index: s32, chapter: s32) -> string {
unused index
value: Vec(u8)
@@ -67,6 +72,18 @@ BookChapterTitle :: (index: s32, number: s32) -> string {
return TaoTeChingChapterTitle(number)
}
BookChapterArt :: (index: s32, number: s32) -> string {
unused index
value: Vec(u8)
BuilderPrint(*value, "assets/library/tao-te-ching/chapter-%.avif", number)
return BuilderFinish(value)
}
BookChapterArtApproved :: (index: s32) -> bool {
unused index
return false
}
LibraryChapterLabel :: (number: s32, title: string) -> string {
value: Vec(u8)
BuilderPrint(*value, "%", number)
+112 -12
View File
@@ -4,36 +4,38 @@
#import "vec"
#import "text_buffer"
#import "text_props"
#import "text_widget"
#import "text_measure"
#import "text_align"
#import "image_props"
#import "image_widget"
#import "grid"
#import "grid_props"
#import "press_props"
#import "press_widget"
#import "button_props"
#import "button_widget"
#import "control_props"
#import "scroll_props"
#import "scroll_widget"
#import "tree"
#import "kryon/tree"
#import "pointer_input"
#import "swipe"
#import "swipe_props"
#import "input_protocol"
#import "drawing_props"
#import "box_props"
#import "box_widget"
#import "spinbox_props"
#import "spinbox_widget"
#import "kryon/Kryon"
#import "kryon/spinbox"
#import "kryon/transition"
#import "kryon/box_widget"
#import "kryon/button_widget"
#import "kryon/dropdown_widget"
#import "kryon/image_widget"
#import "kryon/press_widget"
#import "kryon/scroll_widget"
#import "kryon/text_area_widget"
#import "kryon/text_widget"
#import "kryon/toggle_widget"
#import "dropdown_props"
#import "dropdown_widget"
#import "toggle_props"
#import "toggle_widget"
#import "text_input_props"
#import "text_area_widget"
#import "widget_palette"
#import "icon"
#import "transition"
@@ -94,6 +96,8 @@ note_state: TextAreaResult;
passage_state: TextAreaResult;
reader_swipe: SwipeGesture;
book_dark: bool;
picture_book: bool;
mode_choose_open: bool;
opening_started: float64;
opening: bool;
opening_from: Rectangle;
@@ -124,6 +128,7 @@ SaveSettings :: () -> bool {
BuilderPrint(*value, "% % % %", font_size, font_face, margin, line_gap)
if !SaveAppRecordHost("reader.settings", BuilderFinish(value)) { return false }
if !SaveAppRecordHost("tao-te-ching.theme", ifx book_dark then "1" else "0") { return false }
if !SaveAppRecordHost(BookModeRecord(book), ifx picture_book then "1" else "0") { return false }
settings_dirty = false
return true
}
@@ -164,6 +169,7 @@ LoadSettings :: () {
margin = 24
line_gap = 8
book_dark = RecordNumber("tao-te-ching.theme", ifx frame.dark then 1 else 0, 0, 1) == 1
picture_book = RecordNumber(BookModeRecord(0), 0, 0, 1) == 1
text := AppRecordHost("reader.settings")
at: s32
size := ReadLibraryNumber(text, *at)
@@ -176,7 +182,7 @@ LoadSettings :: () {
if gap >= 2 && gap <= 20 { line_gap = gap }
}
ReadingBounds :: () -> Rectangle {
ReaderAreaBounds :: () -> Rectangle {
width := frame.width - Scale(margin * 2)
if width > Scale(680) { width = Scale(680) }
top := frame.top + Scale(16)
@@ -184,6 +190,24 @@ ReadingBounds :: () -> Rectangle {
return Bounds((frame.width - width) / 2, top, width, height)
}
ChapterArtBounds :: () -> Rectangle {
area := ReaderAreaBounds()
side := cast(s32)(area.height * 38.0 / 100.0)
if cast(float32)side > area.width { side = cast(s32)area.width }
x := cast(s32)area.x + (cast(s32)area.width - side) / 2
return Bounds(x, cast(s32)area.y, side, side)
}
ReadingBounds :: () -> Rectangle {
bounds := ReaderAreaBounds()
if !picture_book || !BookChapterArtApproved(book) { return bounds }
art := ChapterArtBounds()
bounds.y = art.y + art.height + cast(float32)Scale(16)
bottom := cast(float32)frame.height - cast(float32)frame.bottom - cast(float32)Scale(48)
bounds.height = bottom - bounds.y
return bounds
}
ChapterHeadingProps :: (chapter: s32) -> TextProps {
props := TextProps.{.key = 27501,
.text = LibraryChapterLabel(chapter, BookChapterTitle(book, chapter)),
@@ -271,6 +295,7 @@ OpenBook :: (index: s32) {
annotation_chapter = 0
panel_open = false
reading = true
mode_choose_open = true
opening = true
opening_started = frame.now
unused SmoothFramesHost(24)
@@ -279,6 +304,71 @@ OpenBook :: (index: s32) {
if page_count > 0 { LoadPageAnnotations() }
}
ChooseReadingMode :: (pictures: bool) {
picture_book = pictures
mode_choose_open = false
layout_width = 0
settings_dirty = true
unused SmoothFramesHost(2)
unused SaveReader()
}
CancelReadingModeChoice :: () {
mode_choose_open = false
layout_width = 0
unused SmoothFramesHost(2)
}
ReadingModeChooser :: () {
compact := frame.width < Scale(360)
width := frame.width - Scale(32)
if width > Scale(440) { width = Scale(440) }
height := ifx compact then Scale(344) else Scale(238)
x := (frame.width - width) / 2
y := frame.top + (frame.height - frame.top - frame.bottom - height) / 2
palette := ReaderPalette()
unused Box(frame.session, BoxProps.{.key = 27580,
.bounds = Bounds(0, 0, frame.width, frame.height), .fill = Color.{24, 20, 16, 208}})
unused Box(frame.session, BoxProps.{.key = 27581, .bounds = Bounds(x, y, width, height),
.fill = ColorFromPacked(palette.base), .border = ColorFromPacked(palette.border),
.radius = cast(float32)Scale(12)})
Text(frame.session, TextProps.{.key = 27582, .text = AppLocaleHost("library_mode_title"),
.font = frame.font, .align = cast(TextAlign)TextAlignCenter,
.bounds = Bounds(x + Scale(16), y + Scale(20), width - Scale(88), Scale(32))})
if Button(frame.session, ButtonProps.{.id = 27585,
.bounds = Bounds(x + width - Scale(52), y + Scale(12), Scale(40), Scale(40)),
.label = AppLocaleHost("close_button"), .icon_type = cast(s32)IconType.IconX,
.icon_only = true, .size = cast(ControlSize)ControlSize.ControlSizeLarge,
.tone = cast(ButtonTone)ButtonToneNeutral,
.emphasis = cast(ButtonEmphasis)ButtonEmphasisGhost}) != 0 {
CancelReadingModeChoice()
}
choice_width := ifx compact then width - Scale(32) else (width - Scale(40)) / 2
choice_height := Scale(128)
text_x := ifx compact then x + Scale(16) else x + Scale(16)
picture_x := ifx compact then x + Scale(16) else text_x + choice_width + Scale(8)
text_y := y + Scale(68)
picture_y := ifx compact then text_y + choice_height + Scale(8) else text_y
if Button(frame.session, ButtonProps.{.id = 27583,
.bounds = Bounds(text_x, text_y, choice_width, choice_height),
.label = AppLocaleHost("library_mode_text"), .detail = AppLocaleHost("library_mode_text_detail"),
.icon_type = cast(s32)IconType.IconText, .size = cast(ControlSize)ControlSize.ControlSizeLarge,
.full_width = true, .selected = !picture_book,
.tone = cast(ButtonTone)ButtonToneNeutral,
.emphasis = cast(ButtonEmphasis)ButtonEmphasisSoft}) != 0 {
ChooseReadingMode(false)
}
if Button(frame.session, ButtonProps.{.id = 27584,
.bounds = Bounds(picture_x, picture_y, choice_width, choice_height),
.label = AppLocaleHost("library_mode_picture"), .detail = AppLocaleHost("library_mode_picture_detail"),
.icon_type = cast(s32)IconType.IconStack, .size = cast(ControlSize)ControlSize.ControlSizeLarge,
.full_width = true, .selected = picture_book,
.tone = cast(ButtonTone)ButtonToneNeutral,
.emphasis = cast(ButtonEmphasis)ButtonEmphasisSoft}) != 0 {
ChooseReadingMode(true)
}
}
TurnPage :: (index: s32) {
if index < 0 || index >= page_count || !SaveReader() { return }
page_index = index
@@ -695,6 +785,10 @@ ReaderView :: () {
layout_scale != previous_scale) { LoadPageAnnotations() }
}
if page_count <= 0 { return }
if mode_choose_open {
ReadingModeChooser()
return
}
if !panel_open && !opening {
pointer := SamplePointer()
swipe := Swipe(SwipeSpec.{.bounds = ReadingBounds(),
@@ -709,6 +803,12 @@ ReaderView :: () {
else if swipe.direction == SwipeDirection.SwipeRight || key == KeyLeft { TurnPage(page_index - 1) }
}
current := pages[page_index]
if picture_book && BookChapterArtApproved(book) {
Image(frame.session, ImageProps.{.key = 27503,
.asset_path = BookChapterArt(book, current.chapter),
.alt_text = BookChapterTitle(book, current.chapter),
.bounds = ChapterArtBounds(), .fit = ImageFit.ImageFitContain, .smooth = true})
}
heading: TextProps = ChapterHeadingProps(current.chapter)
props: TextProps = ReadingProps(current.chapter)
props.text = BookChapter(book, current.chapter)[current.start:current.end]
+1 -1
View File
@@ -10,7 +10,7 @@
## [Unreleased]
- Write longer todos; swipe a little to complete or reopen an item and farther to edit it.
- Write longer todos; open a custom task for a description and todo.txt priority, with shorter fixed-width complete and edit swipes.
- Close List settings after a successful save and keep edits open if saving fails.
- Show the profile pictures friends chose in any app, abstract pictures included.
-32
View File
@@ -1,32 +0,0 @@
{
"achievement_lists_created_1_title": "Daftar · 1 hasil",
"achievement_lists_created_1_description": "Catat 1 hasil berbeda: daftar yang disimpan.",
"achievement_lists_items_1_title": "Daftar · 1 hasil",
"achievement_lists_items_1_description": "Catat 1 hasil berbeda: tugas berbeda yang Anda selesaikan.",
"achievement_lists_items_5_title": "Daftar · 5 hasil",
"achievement_lists_items_5_description": "Catat 5 hasil berbeda: tugas berbeda yang Anda selesaikan.",
"achievement_lists_items_10_title": "Daftar · 10 hasil",
"achievement_lists_items_10_description": "Catat 10 hasil berbeda: tugas berbeda yang Anda selesaikan.",
"achievement_lists_items_25_title": "Daftar · 25 hasil",
"achievement_lists_items_25_description": "Catat 25 hasil berbeda: tugas berbeda yang Anda selesaikan.",
"achievement_lists_items_50_title": "Daftar · 50 hasil",
"achievement_lists_items_50_description": "Catat 50 hasil berbeda: tugas berbeda yang Anda selesaikan.",
"achievement_lists_items_100_title": "Daftar · 100 hasil",
"achievement_lists_items_100_description": "Catat 100 hasil berbeda: tugas berbeda yang Anda selesaikan.",
"achievement_lists_items_250_title": "Daftar · 250 hasil",
"achievement_lists_items_250_description": "Catat 250 hasil berbeda: tugas berbeda yang Anda selesaikan.",
"achievement_lists_days_3_title": "Daftar · 3 hari",
"achievement_lists_days_3_description": "Lakukan ini pada 3 tanggal berbeda: tugas berbeda yang Anda selesaikan.",
"achievement_lists_days_7_title": "Daftar · 7 hari",
"achievement_lists_days_7_description": "Lakukan ini pada 7 tanggal berbeda: tugas berbeda yang Anda selesaikan.",
"achievement_lists_days_30_title": "Daftar · 30 hari",
"achievement_lists_days_30_description": "Lakukan ini pada 30 tanggal berbeda: tugas berbeda yang Anda selesaikan.",
"achievement_lists_days_100_title": "Daftar · 100 hari",
"achievement_lists_days_100_description": "Lakukan ini pada 100 tanggal berbeda: tugas berbeda yang Anda selesaikan.",
"achievement_lists_cleared_1_title": "Daftar · 1 hasil",
"achievement_lists_cleared_1_description": "Catat 1 hasil berbeda: tugas terbuka terakhir diselesaikan dalam daftar berisi setidaknya tiga tugas.",
"achievement_lists_cleared_5_title": "Daftar · 5 hasil",
"achievement_lists_cleared_5_description": "Catat 5 hasil berbeda: tugas terbuka terakhir diselesaikan dalam daftar berisi setidaknya tiga tugas.",
"achievement_lists_commented_completion_1_title": "Daftar · 1 hasil",
"achievement_lists_commented_completion_1_description": "Catat 1 hasil berbeda: tugas diselesaikan dengan komentar tersimpan yang tidak kosong."
}
-32
View File
@@ -1,32 +0,0 @@
{
"achievement_lists_created_1_title": "Liste · 1 risultati",
"achievement_lists_created_1_description": "Registra 1 risultati distinti: una lista salvata.",
"achievement_lists_items_1_title": "Liste · 1 risultati",
"achievement_lists_items_1_description": "Registra 1 risultati distinti: un’attività distinta completata da te.",
"achievement_lists_items_5_title": "Liste · 5 risultati",
"achievement_lists_items_5_description": "Registra 5 risultati distinti: un’attività distinta completata da te.",
"achievement_lists_items_10_title": "Liste · 10 risultati",
"achievement_lists_items_10_description": "Registra 10 risultati distinti: un’attività distinta completata da te.",
"achievement_lists_items_25_title": "Liste · 25 risultati",
"achievement_lists_items_25_description": "Registra 25 risultati distinti: un’attività distinta completata da te.",
"achievement_lists_items_50_title": "Liste · 50 risultati",
"achievement_lists_items_50_description": "Registra 50 risultati distinti: un’attività distinta completata da te.",
"achievement_lists_items_100_title": "Liste · 100 risultati",
"achievement_lists_items_100_description": "Registra 100 risultati distinti: un’attività distinta completata da te.",
"achievement_lists_items_250_title": "Liste · 250 risultati",
"achievement_lists_items_250_description": "Registra 250 risultati distinti: un’attività distinta completata da te.",
"achievement_lists_days_3_title": "Liste · 3 giorni",
"achievement_lists_days_3_description": "Fallo in 3 date distinte: un’attività distinta completata da te.",
"achievement_lists_days_7_title": "Liste · 7 giorni",
"achievement_lists_days_7_description": "Fallo in 7 date distinte: un’attività distinta completata da te.",
"achievement_lists_days_30_title": "Liste · 30 giorni",
"achievement_lists_days_30_description": "Fallo in 30 date distinte: un’attività distinta completata da te.",
"achievement_lists_days_100_title": "Liste · 100 giorni",
"achievement_lists_days_100_description": "Fallo in 100 date distinte: un’attività distinta completata da te.",
"achievement_lists_cleared_1_title": "Liste · 1 risultati",
"achievement_lists_cleared_1_description": "Registra 1 risultati distinti: l’ultima attività aperta completata in una lista di almeno tre attività.",
"achievement_lists_cleared_5_title": "Liste · 5 risultati",
"achievement_lists_cleared_5_description": "Registra 5 risultati distinti: l’ultima attività aperta completata in una lista di almeno tre attività.",
"achievement_lists_commented_completion_1_title": "Liste · 1 risultati",
"achievement_lists_commented_completion_1_description": "Registra 1 risultati distinti: un’attività completata con un commento salvato non vuoto."
}
-1
View File
@@ -75,7 +75,6 @@ ListsApply :: (message: ListsMessage) -> ListsMessage {
} else if message.selected_list >= 0 && message.selected_list < message.list_count {
mutation.kind = LISTS_CREATE_ITEM
mutation.parent_id = message.selected_id
mutation.comment = ""
} else {
message.input_error = 1
message.succeeded = false
+279 -23
View File
@@ -8,41 +8,45 @@
#import "vec"
#import "c_string"
#import "text_buffer"
#import "kryon/layout"
#import "layout"
#import "dropdown_props"
#import "dropdown_widget"
#import "context_menu_widget"
#import "kryon/Kryon"
#import "kryon/swipe_row"
#import "kryon/box_widget"
#import "kryon/button_widget"
#import "kryon/context_menu_widget"
#import "kryon/dropdown_widget"
#import "kryon/image_widget"
#import "kryon/modal_frame_widget"
#import "kryon/scroll_widget"
#import "kryon/text_field_widget"
#import "kryon/text_area_widget"
#import "kryon/text_widget"
#import "text_props"
#import "text_align"
#import "text_widget"
#import "text_input_props"
#import "text_field_widget"
#import "button_props"
#import "button_widget"
#import "control_props"
#import "swipe_row_props"
#import "swipe_row"
#import "text_measure"
#import "pointer_input"
#import "swipe"
#import "swipe_props"
#import "scroll_props"
#import "scroll_widget"
#import "modal_props"
#import "modal_frame_widget"
#import "box_props"
#import "box_widget"
#import "drawing_props"
#import "tree"
#import "kryon/tree"
#import "icon"
#import "image_props"
#import "image_widget"
CompleteIcon :: #import "mingcute/mingcute_regular_check";
EditIcon :: #import "mingcute/mingcute_regular_edit_2";
SettingsIcon :: #import "mingcute/mingcute_regular_settings_3";
BackIcon :: #import "mingcute/mingcute_regular_arrow_left";
#import, file "../../src/apps/lists_ui_types.zi";
#import, file "../../src/apps/lists_types.zi";
#import, file "task_title.zi";
using ButtonTone;
using ButtonEmphasis;
@@ -97,6 +101,14 @@ TRASH_ICON :: "S1.6rr:M3 6H21M9 6V3H15V6M5 6L6 21H18L19 6M10 10V17M14 10V17"
// A short swipe right completes or reopens an item; a long one edits it.
// Swiping left deletes it; Undo brings a deleted item back.
row_swipe: SwipeRowState;
// A task row's context menu, opened where the pointer was released.
LISTS_ROW_MENU_CHECK :: 1
LISTS_ROW_MENU_EDIT :: 2
row_menu_open: bool;
row_menu_index: s32;
row_menu_x: float32;
row_menu_y: float32;
custom_task_scroll: s32;
CompleteSwipe :: () -> SwipeRowAction {
return SwipeRowAction.{.fill = Color.{46, 139, 120, 255},
@@ -167,6 +179,42 @@ BeginInput :: (item: s32, value: string) {
frame.focused = true
}
BeginCustomTask :: (item: s32, title: string, comment: string) {
row_menu_open = false
BeginInput(item, ListsTitleWithoutPriority(title))
frame.comment_value = comment
frame.comment_cursor = cast(s32)comment.count
frame.comment_anchor = frame.comment_cursor
frame.comment_scroll_y = 0
frame.comment_focused = false
frame.task_priority = ListsPriorityForTitle(title)
frame.panel = 3
custom_task_scroll = 0
field_focus_request = true
}
CloseCustomTask :: () {
frame.panel = 0
frame.value = ""
frame.comment_value = ""
frame.task_priority = 0
frame.focused = false
frame.comment_focused = false
state.editing_item = -1
state.reset_input = true
custom_task_scroll = 0
}
SaveCustomTask :: () -> bool {
if ListsTitleWithoutPriority(frame.value).count == 0 { return false }
if !ListsTitlePriorityFits(frame.value, frame.task_priority, LISTS_TEXT_LIMIT) {
return false
}
frame.value = ListsTitleForPriority(frame.value, frame.task_priority)
Mutation(LISTS_COMMIT, -1)
return true
}
// Remembers a deleted item's name for a few seconds so Undo can restore it.
RememberDeleted :: (row: ListsUiRow) {
undo_item = row
@@ -215,6 +263,11 @@ Mutation :: (action: s32, index: s32) {
}
if action == LISTS_COMMIT {
state.title = frame.value
if frame.panel == 3 {
state.comment = frame.comment_value
} else {
state.comment = ""
}
}
if state.selected_list >= 0 && state.selected_list < state.list_count &&
state.editing_item != -2 && ReadListsRowHost(state.selected_list, false).shared {
@@ -238,7 +291,8 @@ Field :: (bounds: Rectangle, placeholder: string, read_only: bool = false) -> bo
.bounds = bounds, .value = frame.value, .placeholder = placeholder, .cursor = frame.cursor,
.anchor = frame.anchor, .scroll_x = frame.scroll_x,
.focused = frame.focused, .focus_id = 6501,
.max_bytes = 4095, .max_codepoints = 4095, .input = input,
.max_bytes = LISTS_TEXT_LIMIT, .max_codepoints = LISTS_TEXT_LIMIT,
.input = input,
.disabled = frame.sharing_busy || frame.sharing_pending || read_only})
if edited.edit.changed {
start := edited.edit.start
@@ -249,7 +303,7 @@ Field :: (bounds: Rectangle, placeholder: string, read_only: bool = false) -> bo
BuilderPrint(*value, "%", edited.edit.replacement)
BuilderPrint(*value, "%", frame.value[end:])
replacement := BuilderFinish(value)
if replacement.count <= 4095 {
if replacement.count <= LISTS_TEXT_LIMIT {
frame.value = replacement
}
}
@@ -258,12 +312,54 @@ Field :: (bounds: Rectangle, placeholder: string, read_only: bool = false) -> bo
frame.anchor = edited.anchor
frame.scroll_x = edited.scroll_x
frame.focused = edited.focused
if edited.focused {
frame.comment_focused = false
frame.comment_input.blur = true
}
frame.clipboard_write = edited.clipboard_write
frame.clipboard_text = edited.clipboard_text
field_escaped = edited.escaped
return edited.committed
}
DescriptionField :: (bounds: Rectangle, placeholder: string, read_only: bool = false) -> bool {
input := frame.comment_input
edited := TextArea(frame.session, TextAreaProps.{.key = cast(u64)6552,
.bounds = bounds, .value = frame.comment_value, .placeholder = placeholder,
.cursor = frame.comment_cursor, .anchor = frame.comment_anchor,
.scroll_y = frame.comment_scroll_y, .focused = frame.comment_focused,
.focus_id = 6552, .max_bytes = LISTS_TEXT_LIMIT,
.max_codepoints = LISTS_TEXT_LIMIT, .wrap = true, .input = input,
.disabled = frame.sharing_busy || frame.sharing_pending || read_only})
if edited.edit.changed {
start := edited.edit.start
end := edited.edit.end
if start >= 0 && end >= start && end <= frame.comment_value.count {
value: Vec(u8)
BuilderPrint(*value, "%", frame.comment_value[:start])
BuilderPrint(*value, "%", edited.edit.replacement)
BuilderPrint(*value, "%", frame.comment_value[end:])
replacement := BuilderFinish(value)
if replacement.count <= LISTS_TEXT_LIMIT {
frame.comment_value = replacement
}
}
}
frame.comment_cursor = edited.cursor
frame.comment_anchor = edited.anchor
frame.comment_scroll_y = edited.scroll_y
frame.comment_focused = edited.focused
if edited.focused {
frame.focused = false
frame.input.blur = true
}
if edited.clipboard_write {
frame.clipboard_write = true
frame.clipboard_text = edited.clipboard_text
}
return edited.escaped
}
Remote :: (action: s32, target: string = "", invitation: string = "",
invitation_list: string = "", access: string = "") {
state.action = action
@@ -279,7 +375,8 @@ Remote :: (action: s32, target: string = "", invitation: string = "",
state.request_body = PrepareListsCommandHost(ListsUiRequest.{
.action = action, .index = state.index, .editing_item = state.editing_item,
.selected_list = state.selected_list, .done = state.done,
.value = ifx action == LISTS_RESTORE_ITEM then state.title else frame.value,
.value = ifx action == LISTS_COMMIT || action == LISTS_RESTORE_ITEM
then state.title else frame.value,
.next_id = frame.next_id, .item_id = state.id, .comment = state.comment,
.target = target, .invitation = invitation, .list_id = list.id, .access = access})
}
@@ -618,6 +715,99 @@ InvitationsDialog :: () {
End(frame.session)
}
CustomTaskDialog :: () {
width := frame.width - Scale(32)
if width > Scale(440) {
width = Scale(440)
}
height := Scale(404)
available := frame.height - frame.bottom - Scale(32)
if available < height { height = available }
dialog := ModalFrame(frame.session, ModalFrameProps.{.key = cast(u64)6550,
.title = ListsLocaleHost("elist_custom_task"), .width = width,
.height = height, .scale = frame.scale})
if dialog.dismissed {
CloseCustomTask()
return
}
if !dialog.opened {
return
}
current: ListsUiRow
blocked := frame.sharing_busy || frame.sharing_pending
if state.selected_list >= 0 && state.selected_list < state.list_count {
current = ReadListsRowHost(state.selected_list, false)
blocked = blocked || current.read_only || current.incomplete
} else {
blocked = true
}
x := cast(s32)dialog.layout.content.x
y := cast(s32)dialog.layout.content.y
content_width := cast(s32)dialog.layout.content.width
scroll := Scroll(frame.session, ScrollProps.{.key = cast(u64)6555,
.bounds = Bounds(x, y, content_width, cast(s32)dialog.layout.content.height),
.content_height = Scale(350), .scroll_offset = custom_task_scroll,
.scale = frame.scale})
custom_task_scroll = scroll.scroll_offset
if !scroll.opened {
End(frame.session)
return
}
x = cast(s32)scroll.content.x
y = cast(s32)scroll.content.y
Text(frame.session, TextProps.{.bounds = Bounds(x, y, content_width, Scale(20)),
.text = ListsLocaleHost("elist_task_label")})
task_committed := Field(Bounds(x, y + Scale(24), content_width, Scale(44)),
ListsLocaleHost("elist_item_name_placeholder"), blocked)
task_escaped := field_escaped
y += Scale(76)
Text(frame.session, TextProps.{.bounds = Bounds(x, y, content_width, Scale(20)),
.text = ListsLocaleHost("habit_description_label")})
description_escaped := DescriptionField(Bounds(x, y + Scale(24), content_width, Scale(112)),
ListsLocaleHost("habit_description_label"), blocked)
y += Scale(144)
Text(frame.session, TextProps.{.bounds = Bounds(x, y, content_width - Scale(132), Scale(44)),
.text = ListsLocaleHost("elist_priority_label"),
.vertical_align = cast(TextAlign)TextAlignCenter})
options: [27]DropdownOption
options[0].label = ListsLocaleHost("profile_none_label")
alphabet := "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
for index: cast(s32)1..26 {
options[index].label = alphabet[index - 1:index]
options[index].key = cast(u64)index
}
chosen := Dropdown(frame.session, DropdownProps.{.key = cast(u64)6551,
.bounds = Bounds(x + content_width - Scale(124), y, Scale(124), Scale(44)),
.selected_index = frame.task_priority, .disabled = blocked,
.scale = frame.scale}, options[:27])
if chosen.changed {
frame.task_priority = chosen.selected_index
}
y += Scale(54)
Text(frame.session, TextProps.{.bounds = Bounds(x, y, content_width, Scale(24)),
.text = "+project @context due:YYYY-MM-DD", .disabled = true})
y += Scale(32)
button_width := (content_width - Scale(8)) / 2
save := Button(frame.session, ButtonProps.{.key = cast(u64)6553,
.bounds = Bounds(x, y, button_width, Scale(44)),
.label = ListsLocaleHost("save_button"),
.tone = cast(ButtonTone)ButtonToneAccent,
.emphasis = cast(ButtonEmphasis)ButtonEmphasisFilled,
.disabled = ListsTitleWithoutPriority(frame.value).count == 0 || blocked ||
!ListsTitlePriorityFits(frame.value, frame.task_priority, LISTS_TEXT_LIMIT)}) != 0
cancel := Button(frame.session, ButtonProps.{.key = cast(u64)6554,
.bounds = Bounds(x + button_width + Scale(8), y, button_width, Scale(44)),
.label = ListsLocaleHost("cancel_button")}) != 0
if task_escaped || description_escaped || cancel {
CloseCustomTask()
} else if save || task_committed {
if SaveCustomTask() {
CloseCustomTask()
}
}
End(frame.session)
}
// An invitation to a list, who sent it, and Accept and Decline. True once
// one is chosen.
InvitationRow :: (row: ListsUiPerson, index: s32, x: s32, y: s32, width: s32, disabled: bool) -> bool {
@@ -657,6 +847,9 @@ InvitationRow :: (row: ListsUiPerson, index: s32, x: s32, y: s32, width: s32, di
ListsView :: (message: ListsMessage) -> ListsMessage {
frame = ReadListsUiHost()
state = message
if frame.panel == 3 && state.succeeded && state.editing_item == -1 && state.reset_input {
CloseCustomTask()
}
// Sharing lives in List settings; an older saved Share panel opens it.
if frame.panel == 1 {
frame.panel = 0
@@ -673,7 +866,7 @@ ListsView :: (message: ListsMessage) -> ListsMessage {
CloseSettings()
}
input := frame.input
if frame.panel != 0 {
if frame.panel == 2 {
frame.input = TextFieldInput.{}
frame.focused = false
}
@@ -686,12 +879,16 @@ ListsView :: (message: ListsMessage) -> ListsMessage {
if frame.panel == 2 {
InvitationsDialog()
}
if frame.panel == 3 {
CustomTaskDialog()
}
return Finish()
}
// List settings opens with its name ready to change but no keyboard.
OpenSettings :: (title: string) {
settings_open = true
row_menu_open = false
settings_scroll = 0
delete_confirm = false
invite_role = 1
@@ -1162,7 +1359,9 @@ ListsPage :: () {
.wrap = cast(TextWrap)TextWrapAuto})
return
}
if state.editing_item >= 0 {
if frame.panel == 3 {
y += Scale(56)
} else if state.editing_item >= 0 {
// The item's own row holds its field; Escape or Back leaves it.
if frame.input.escape {
state.editing_item = -1
@@ -1178,16 +1377,21 @@ ListsPage :: () {
.tone = cast(ButtonTone)ButtonToneAccent, .emphasis = cast(ButtonEmphasis)ButtonEmphasisFilled,
.disabled = true})
} else {
committed := Field(Bounds(x, y, width - Scale(96), Scale(44)),
committed := Field(Bounds(x, y, width - Scale(180), Scale(44)),
ListsLocaleHost("elist_add_item_placeholder"), blocked)
if Button(frame.session, ButtonProps.{.key = cast(u64)6507,
.label = ListsLocaleHost("elist_add_item"),
.bounds = Bounds(x + width - Scale(88), y, Scale(88), Scale(44)),
.bounds = Bounds(x + width - Scale(176), y, Scale(84), Scale(44)),
.tone = cast(ButtonTone)ButtonToneAccent, .emphasis = cast(ButtonEmphasis)ButtonEmphasisFilled,
.disabled = frame.value.count == 0 || blocked}) != 0 || (committed && !blocked) {
Mutation(LISTS_COMMIT, -1)
return
}
if Button(frame.session, ButtonProps.{.key = cast(u64)6515,
.label = ListsLocaleHost("elist_custom_button"),
.bounds = Bounds(x + width - Scale(84), y, Scale(84), Scale(44))}) != 0 {
BeginCustomTask(-1, "", "")
}
}
y += Scale(56)
// Finished items stay out of the way, as in 1List: a pull down on the
@@ -1293,7 +1497,7 @@ ListsPage :: () {
row_y < cast(s32)(scroll.viewport.y + scroll.viewport.height)
// An item being edited becomes a field in its own row, with a
// check that saves it.
if visible_row && index == state.editing_item {
if visible_row && index == state.editing_item && frame.panel != 3 {
check_x := row_right - Scale(44)
committed := Field(Bounds(x, row_y + Scale(10), check_x - Scale(8) - x, Scale(44)),
ListsLocaleHost("elist_item_name_placeholder"), blocked)
@@ -1320,12 +1524,23 @@ ListsPage :: () {
.bounds = Bounds(x, row_y, row_right - x, Scale(64)),
.label = row.title, .now = state.now, .scale = frame.scale,
.start = CompleteSwipe(), .end = DeleteSwipe(),
.threshold = 0.15, .end_threshold = 0.35, .long_threshold = 0.5, .long_start = EditSwipe(),
.threshold = 0.5, .end_threshold = 0.35, .long_threshold = 1.0,
.start_width = cast(float32)Scale(176), .long_start = EditSwipe(),
.disabled = blocked},
row_swipe)
row_swipe = swiped.state
if Button(frame.session, ButtonProps.{.key = cast(u64)(8200 + index),
.bounds = Bounds(row_right - Scale(44), row_y + Scale(10), Scale(44), Scale(44)),
.label = ListsLocaleHost("elist_edit_task"), .icon_type = cast(s32)IconEdit,
.icon_only = true, .tone = cast(ButtonTone)ButtonToneNeutral,
.emphasis = cast(ButtonEmphasis)ButtonEmphasisGhost,
.disabled = blocked}) != 0 {
BeginCustomTask(index, row.title, row.comment)
End(frame.session)
return
}
text_x := x + Scale(12) + cast(s32)swiped.offset
text_width := row_right - x - Scale(24)
text_width := row_right - x - Scale(68)
Text(frame.session, TextProps.{.bounds = Bounds(text_x, row_y,
text_width, ifx row.comment.count > 0 then Scale(30) else Scale(64)),
.text = row.title, .vertical_align = cast(TextAlign)TextAlignCenter,
@@ -1340,9 +1555,20 @@ ListsPage :: () {
End(frame.session)
return
}
if swiped.clicked {
state.done = ifx row.done != 0 then 0 else 1
Mutation(LISTS_SET_DONE, index)
End(frame.session)
return
}
if swiped.right_clicked {
row_menu_open = true
row_menu_index = index
row_menu_x = swiped.pointer_x
row_menu_y = swiped.pointer_y
}
if swiped.swiped_long_start {
BeginInput(index, row.title)
field_focus_request = true
BeginCustomTask(index, row.title, row.comment)
}
if swiped.swiped_end {
// Deleting leaves Edit, since the items after it move up.
@@ -1360,4 +1586,34 @@ ListsPage :: () {
}
End(frame.session)
}
RowContextMenu(blocked)
}
// A row's alternative commands. Check is the row's own activation; Edit opens
// the same modal as the long swipe.
RowContextMenu :: (blocked: bool) {
if !row_menu_open || row_menu_index < 0 || row_menu_index >= state.item_count {
return
}
row := ReadListsRowHost(row_menu_index, true)
items: [2]ContextMenuItem = .[
ContextMenuItem.{.id = LISTS_ROW_MENU_CHECK, .label = ListsLocaleHost("elist_check_task"), .disabled = blocked},
ContextMenuItem.{.id = LISTS_ROW_MENU_EDIT, .label = ListsLocaleHost("elist_edit_task"), .disabled = blocked}
]
menu := ContextMenu(frame.session, ContextMenuProps.{.key = cast(u64)8500,
.open = true, .x = row_menu_x, .y = row_menu_y,
.escape = frame.input.escape, .scale = frame.scale}, items[:])
if !menu.open {
row_menu_open = false
}
if menu.activated_id == LISTS_ROW_MENU_CHECK && !blocked {
state.done = ifx row.done != 0 then 0 else 1
Mutation(LISTS_SET_DONE, row_menu_index)
row_menu_open = false
End(frame.session)
} else if menu.activated_id == LISTS_ROW_MENU_EDIT && !blocked {
BeginCustomTask(row_menu_index, row.title, row.comment)
row_menu_open = false
End(frame.session)
}
}
+7 -9
View File
@@ -71,11 +71,7 @@ ListsBuildCommand :: (message: ListsMessage, frame: ListsUiFrame,
return BuilderFinish(out)
}
BuilderPrint(*out, ",\"title\":")
title := list.title
if message.action == LISTS_COMMIT && message.editing_item == -3 {
title = frame.value
}
ListsJsonString(*out, title)
ListsJsonString(*out, ifx message.action == LISTS_COMMIT && message.editing_item == -3 then message.title else list.title)
BuilderPrint(*out, ",\"revision\":%,\"items\":[", list.revision)
restoring := message.action == LISTS_RESTORE_ITEM
for row: rows {
@@ -91,7 +87,8 @@ ListsBuildCommand :: (message: ListsMessage, frame: ListsUiFrame,
continue
}
if message.action == LISTS_COMMIT && index == message.editing_item {
row.title = frame.value
row.title = message.title
row.comment = message.comment
}
if message.action == LISTS_SET_DONE && index == message.index {
row.done = message.done
@@ -100,7 +97,7 @@ ListsBuildCommand :: (message: ListsMessage, frame: ListsUiFrame,
if count > 0 {
BuilderPrint(*out, ",")
}
ListsWriteItem(*out, ListsUiRow.{.id = message.id, .title = frame.value,
ListsWriteItem(*out, ListsUiRow.{.id = message.id, .title = message.title,
.comment = message.comment, .done = message.done})
count += 1
restoring = false
@@ -115,13 +112,14 @@ ListsBuildCommand :: (message: ListsMessage, frame: ListsUiFrame,
if count > 0 {
BuilderPrint(*out, ",")
}
ListsWriteItem(*out, ListsUiRow.{.id = frame.next_id, .title = frame.value})
ListsWriteItem(*out, ListsUiRow.{.id = frame.next_id, .title = message.title,
.comment = message.comment})
}
if restoring {
if count > 0 {
BuilderPrint(*out, ",")
}
ListsWriteItem(*out, ListsUiRow.{.id = message.id, .title = frame.value,
ListsWriteItem(*out, ListsUiRow.{.id = message.id, .title = message.title,
.comment = message.comment, .done = message.done})
}
BuilderPrint(*out, "]}}")
+39
View File
@@ -0,0 +1,39 @@
// todo.txt stores priority as a leading `(A)` through `(Z)` in the task text.
#import "vec"
#import "text_buffer"
ListsPriorityForTitle :: (title: string) -> s32 {
if title.count < 4 || title[0] != #char "(" || title[2] != #char ")" ||
title[3] != #char " " {
return 0
}
letter := title[1]
if letter < #char "A" || letter > #char "Z" { return 0 }
return cast(s32)(letter - #char "A") + 1
}
ListsTitleWithoutPriority :: (title: string) -> string {
if ListsPriorityForTitle(title) > 0 { return title[4:] }
return title
}
ListsTitleForPriority :: (title: string, priority: s32) -> string {
task := ListsTitleWithoutPriority(title)
if priority <= 0 || task.count == 0 { return ListsCopiedTitle(task) }
alphabet := "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
value: Vec(u8)
BuilderPrint(*value, "(%) %", alphabet[priority - 1:priority], task)
return BuilderFinish(value)
}
ListsTitlePriorityFits :: (title: string, priority: s32, limit: s32) -> bool {
length := ListsTitleWithoutPriority(title).count
if priority > 0 { return length + 4 <= limit }
return length <= limit
}
ListsCopiedTitle :: (value: string) -> string {
copy: Vec(u8)
BuilderPrint(*copy, "%", value)
return BuilderFinish(copy)
}
-22
View File
@@ -1,22 +0,0 @@
{
"achievement_lumi_offline_action_1_title": "Lumi · 1 hasil",
"achievement_lumi_offline_action_1_description": "Catat 1 hasil berbeda: tindakan berguna Lumi yang dikonfirmasi dalam mode luring.",
"achievement_lumi_actions_5_title": "Lumi · 5 hasil",
"achievement_lumi_actions_5_description": "Catat 5 hasil berbeda: tindakan berguna Lumi yang dikonfirmasi.",
"achievement_lumi_actions_25_title": "Lumi · 25 hasil",
"achievement_lumi_actions_25_description": "Catat 25 hasil berbeda: tindakan berguna Lumi yang dikonfirmasi.",
"achievement_lumi_actions_100_title": "Lumi · 100 hasil",
"achievement_lumi_actions_100_description": "Catat 100 hasil berbeda: tindakan berguna Lumi yang dikonfirmasi.",
"achievement_lumi_days_3_title": "Lumi · 3 hari",
"achievement_lumi_days_3_description": "Lakukan ini pada 3 tanggal berbeda: tindakan berguna Lumi yang dikonfirmasi.",
"achievement_lumi_days_7_title": "Lumi · 7 hari",
"achievement_lumi_days_7_description": "Lakukan ini pada 7 tanggal berbeda: tindakan berguna Lumi yang dikonfirmasi.",
"achievement_lumi_days_30_title": "Lumi · 30 hari",
"achievement_lumi_days_30_description": "Lakukan ini pada 30 tanggal berbeda: tindakan berguna Lumi yang dikonfirmasi.",
"achievement_lumi_progress_chart_1_title": "Lumi · 1 hasil",
"achievement_lumi_progress_chart_1_description": "Catat 1 hasil berbeda: grafik dibuat melalui Lumi dari aktivitas tersimpan.",
"achievement_lumi_practice_1_title": "Lumi · 1 hasil",
"achievement_lumi_practice_1_description": "Catat 1 hasil berbeda: latihan sah tersimpan yang dimulai melalui Lumi.",
"achievement_lumi_diary_1_title": "Lumi · 1 hasil",
"achievement_lumi_diary_1_description": "Catat 1 hasil berbeda: tambahan berisi konten disimpan ke catatan harian melalui Lumi."
}
-22
View File
@@ -1,22 +0,0 @@
{
"achievement_lumi_offline_action_1_title": "Lumi · 1 risultati",
"achievement_lumi_offline_action_1_description": "Registra 1 risultati distinti: un’azione utile confermata di Lumi senza connessione.",
"achievement_lumi_actions_5_title": "Lumi · 5 risultati",
"achievement_lumi_actions_5_description": "Registra 5 risultati distinti: un’azione utile confermata di Lumi.",
"achievement_lumi_actions_25_title": "Lumi · 25 risultati",
"achievement_lumi_actions_25_description": "Registra 25 risultati distinti: un’azione utile confermata di Lumi.",
"achievement_lumi_actions_100_title": "Lumi · 100 risultati",
"achievement_lumi_actions_100_description": "Registra 100 risultati distinti: un’azione utile confermata di Lumi.",
"achievement_lumi_days_3_title": "Lumi · 3 giorni",
"achievement_lumi_days_3_description": "Fallo in 3 date distinte: un’azione utile confermata di Lumi.",
"achievement_lumi_days_7_title": "Lumi · 7 giorni",
"achievement_lumi_days_7_description": "Fallo in 7 date distinte: un’azione utile confermata di Lumi.",
"achievement_lumi_days_30_title": "Lumi · 30 giorni",
"achievement_lumi_days_30_description": "Fallo in 30 date distinte: un’azione utile confermata di Lumi.",
"achievement_lumi_progress_chart_1_title": "Lumi · 1 risultati",
"achievement_lumi_progress_chart_1_description": "Registra 1 risultati distinti: un grafico creato da Lumi con attività salvata.",
"achievement_lumi_practice_1_title": "Lumi · 1 risultati",
"achievement_lumi_practice_1_description": "Registra 1 risultati distinti: una pratica valida salvata e avviata tramite Lumi.",
"achievement_lumi_diary_1_title": "Lumi · 1 risultati",
"achievement_lumi_diary_1_description": "Registra 1 risultati distinti: un’aggiunta con contenuto salvata nel diario tramite Lumi."
}
+13 -12
View File
@@ -1,30 +1,31 @@
#import "geometry"
#import "drawing_props"
#import "kryon/layout"
#import "layout"
#import "image_props"
#import "image_widget"
#import "text_props"
#import "text_widget"
#import "text_align"
#import "text_input_props"
#import "text_area_widget"
#import "button_props"
#import "button_widget"
#import "control_props"
#import "box_props"
#import "box_widget"
#import "loading_indicator"
#import "kryon/loading_indicator"
#import "checkbox_props"
#import "checkbox_widget"
#import "context_menu_widget"
#import "kryon/Kryon"
#import "kryon/box_widget"
#import "kryon/button_widget"
#import "kryon/context_menu_widget"
#import "kryon/image_widget"
#import "kryon/press_widget"
#import "kryon/scroll_widget"
#import "kryon/text_area_widget"
#import "kryon/text_widget"
#import "kryon/title_bar_widget"
#import "press_props"
#import "press_widget"
#import "scroll_props"
#import "scroll_widget"
#import "title_bar_props"
#import "title_bar_widget"
#import "dropdown_props"
#import "tree"
#import "kryon/tree"
#import "text"
#import "byte_text_linux"
#import "c_string"
+1
View File
@@ -10,6 +10,7 @@
## [Unreleased]
- Choose an astral exercise before Start with its translated guide and narration; adjust session volume and background music together.
- Sun Salutation shows each pose's form cue, the leg that steps back and names the next pose in one quiet line.
## [1.6.9] - 2026-10-29
-122
View File
@@ -1,122 +0,0 @@
{
"achievement_practices_sessions_1_title": "Latihan · 1 hasil",
"achievement_practices_sessions_1_description": "Catat 1 hasil berbeda: latihan sah yang disimpan.",
"achievement_practices_sessions_5_title": "Latihan · 5 hasil",
"achievement_practices_sessions_5_description": "Catat 5 hasil berbeda: latihan sah yang disimpan.",
"achievement_practices_sessions_10_title": "Latihan · 10 hasil",
"achievement_practices_sessions_10_description": "Catat 10 hasil berbeda: latihan sah yang disimpan.",
"achievement_practices_sessions_25_title": "Latihan · 25 hasil",
"achievement_practices_sessions_25_description": "Catat 25 hasil berbeda: latihan sah yang disimpan.",
"achievement_practices_sessions_50_title": "Latihan · 50 hasil",
"achievement_practices_sessions_50_description": "Catat 50 hasil berbeda: latihan sah yang disimpan.",
"achievement_practices_sessions_100_title": "Latihan · 100 hasil",
"achievement_practices_sessions_100_description": "Catat 100 hasil berbeda: latihan sah yang disimpan.",
"achievement_practices_sessions_250_title": "Latihan · 250 hasil",
"achievement_practices_sessions_250_description": "Catat 250 hasil berbeda: latihan sah yang disimpan.",
"achievement_practices_days_7_title": "Latihan · 7 hari",
"achievement_practices_days_7_description": "Lakukan ini pada 7 tanggal berbeda: latihan sah yang disimpan.",
"achievement_practices_days_30_title": "Latihan · 30 hari",
"achievement_practices_days_30_description": "Lakukan ini pada 30 tanggal berbeda: latihan sah yang disimpan.",
"achievement_practices_days_100_title": "Latihan · 100 hari",
"achievement_practices_days_100_description": "Lakukan ini pada 100 tanggal berbeda: latihan sah yang disimpan.",
"achievement_whm_sessions_1_title": "Pernapasan Wim Hof · 1 hasil",
"achievement_whm_sessions_1_description": "Catat 1 hasil berbeda: satu putaran pernapasan yang disimpan.",
"achievement_whm_sessions_5_title": "Pernapasan Wim Hof · 5 hasil",
"achievement_whm_sessions_5_description": "Catat 5 hasil berbeda: satu putaran pernapasan yang disimpan.",
"achievement_whm_sessions_10_title": "Pernapasan Wim Hof · 10 hasil",
"achievement_whm_sessions_10_description": "Catat 10 hasil berbeda: satu putaran pernapasan yang disimpan.",
"achievement_whm_sessions_25_title": "Pernapasan Wim Hof · 25 hasil",
"achievement_whm_sessions_25_description": "Catat 25 hasil berbeda: satu putaran pernapasan yang disimpan.",
"achievement_whm_sessions_50_title": "Pernapasan Wim Hof · 50 hasil",
"achievement_whm_sessions_50_description": "Catat 50 hasil berbeda: satu putaran pernapasan yang disimpan.",
"achievement_whm_sessions_100_title": "Pernapasan Wim Hof · 100 hasil",
"achievement_whm_sessions_100_description": "Catat 100 hasil berbeda: satu putaran pernapasan yang disimpan.",
"achievement_whm_days_3_title": "Pernapasan Wim Hof · 3 hari",
"achievement_whm_days_3_description": "Lakukan ini pada 3 tanggal berbeda: satu putaran pernapasan yang disimpan.",
"achievement_whm_days_7_title": "Pernapasan Wim Hof · 7 hari",
"achievement_whm_days_7_description": "Lakukan ini pada 7 tanggal berbeda: satu putaran pernapasan yang disimpan.",
"achievement_whm_days_30_title": "Pernapasan Wim Hof · 30 hari",
"achievement_whm_days_30_description": "Lakukan ini pada 30 tanggal berbeda: satu putaran pernapasan yang disimpan.",
"achievement_whm_days_100_title": "Pernapasan Wim Hof · 100 hari",
"achievement_whm_days_100_description": "Lakukan ini pada 100 tanggal berbeda: satu putaran pernapasan yang disimpan.",
"achievement_meditation_sessions_1_title": "Meditasi · 1 hasil",
"achievement_meditation_sessions_1_description": "Catat 1 hasil berbeda: meditasi tersimpan selama setidaknya satu menit.",
"achievement_meditation_sessions_5_title": "Meditasi · 5 hasil",
"achievement_meditation_sessions_5_description": "Catat 5 hasil berbeda: meditasi tersimpan selama setidaknya satu menit.",
"achievement_meditation_sessions_10_title": "Meditasi · 10 hasil",
"achievement_meditation_sessions_10_description": "Catat 10 hasil berbeda: meditasi tersimpan selama setidaknya satu menit.",
"achievement_meditation_sessions_25_title": "Meditasi · 25 hasil",
"achievement_meditation_sessions_25_description": "Catat 25 hasil berbeda: meditasi tersimpan selama setidaknya satu menit.",
"achievement_meditation_sessions_50_title": "Meditasi · 50 hasil",
"achievement_meditation_sessions_50_description": "Catat 50 hasil berbeda: meditasi tersimpan selama setidaknya satu menit.",
"achievement_meditation_days_3_title": "Meditasi · 3 hari",
"achievement_meditation_days_3_description": "Lakukan ini pada 3 tanggal berbeda: meditasi tersimpan selama setidaknya satu menit.",
"achievement_meditation_days_7_title": "Meditasi · 7 hari",
"achievement_meditation_days_7_description": "Lakukan ini pada 7 tanggal berbeda: meditasi tersimpan selama setidaknya satu menit.",
"achievement_meditation_days_30_title": "Meditasi · 30 hari",
"achievement_meditation_days_30_description": "Lakukan ini pada 30 tanggal berbeda: meditasi tersimpan selama setidaknya satu menit.",
"achievement_meditation_minutes_60_title": "Meditasi · 60 menit",
"achievement_meditation_minutes_60_description": "Kumpulkan 60 menit: meditasi tersimpan selama setidaknya satu menit.",
"achievement_meditation_minutes_600_title": "Meditasi · 600 menit",
"achievement_meditation_minutes_600_description": "Kumpulkan 600 menit: meditasi tersimpan selama setidaknya satu menit.",
"achievement_patterns_sessions_1_title": "Pola pernapasan · 1 hasil",
"achievement_patterns_sessions_1_description": "Catat 1 hasil berbeda: pola pernapasan tersimpan selama setidaknya satu menit.",
"achievement_patterns_sessions_5_title": "Pola pernapasan · 5 hasil",
"achievement_patterns_sessions_5_description": "Catat 5 hasil berbeda: pola pernapasan tersimpan selama setidaknya satu menit.",
"achievement_patterns_sessions_10_title": "Pola pernapasan · 10 hasil",
"achievement_patterns_sessions_10_description": "Catat 10 hasil berbeda: pola pernapasan tersimpan selama setidaknya satu menit.",
"achievement_patterns_sessions_25_title": "Pola pernapasan · 25 hasil",
"achievement_patterns_sessions_25_description": "Catat 25 hasil berbeda: pola pernapasan tersimpan selama setidaknya satu menit.",
"achievement_patterns_sessions_50_title": "Pola pernapasan · 50 hasil",
"achievement_patterns_sessions_50_description": "Catat 50 hasil berbeda: pola pernapasan tersimpan selama setidaknya satu menit.",
"achievement_patterns_sessions_100_title": "Pola pernapasan · 100 hasil",
"achievement_patterns_sessions_100_description": "Catat 100 hasil berbeda: pola pernapasan tersimpan selama setidaknya satu menit.",
"achievement_patterns_days_7_title": "Pola pernapasan · 7 hari",
"achievement_patterns_days_7_description": "Lakukan ini pada 7 tanggal berbeda: pola pernapasan tersimpan selama setidaknya satu menit.",
"achievement_patterns_days_30_title": "Pola pernapasan · 30 hari",
"achievement_patterns_days_30_description": "Lakukan ini pada 30 tanggal berbeda: pola pernapasan tersimpan selama setidaknya satu menit.",
"achievement_patterns_preset_box_title": "Pola pernapasan · 1 hasil",
"achievement_patterns_preset_box_description": "Catat 1 hasil berbeda: pernapasan kotak tersimpan selama setidaknya satu menit.",
"achievement_patterns_preset_coherent_title": "Pola pernapasan · 1 hasil",
"achievement_patterns_preset_coherent_description": "Catat 1 hasil berbeda: pernapasan koheren tersimpan selama setidaknya satu menit.",
"achievement_sunsalutation_sessions_1_title": "Salam matahari · 1 hasil",
"achievement_sunsalutation_sessions_1_description": "Catat 1 hasil berbeda: rangkaian salam matahari yang selesai.",
"achievement_sunsalutation_sessions_5_title": "Salam matahari · 5 hasil",
"achievement_sunsalutation_sessions_5_description": "Catat 5 hasil berbeda: rangkaian salam matahari yang selesai.",
"achievement_sunsalutation_sessions_10_title": "Salam matahari · 10 hasil",
"achievement_sunsalutation_sessions_10_description": "Catat 10 hasil berbeda: rangkaian salam matahari yang selesai.",
"achievement_sunsalutation_sessions_25_title": "Salam matahari · 25 hasil",
"achievement_sunsalutation_sessions_25_description": "Catat 25 hasil berbeda: rangkaian salam matahari yang selesai.",
"achievement_sunsalutation_sessions_50_title": "Salam matahari · 50 hasil",
"achievement_sunsalutation_sessions_50_description": "Catat 50 hasil berbeda: rangkaian salam matahari yang selesai.",
"achievement_sunsalutation_sessions_100_title": "Salam matahari · 100 hasil",
"achievement_sunsalutation_sessions_100_description": "Catat 100 hasil berbeda: rangkaian salam matahari yang selesai.",
"achievement_sunsalutation_days_3_title": "Salam matahari · 3 hari",
"achievement_sunsalutation_days_3_description": "Lakukan ini pada 3 tanggal berbeda: rangkaian salam matahari yang selesai.",
"achievement_sunsalutation_days_7_title": "Salam matahari · 7 hari",
"achievement_sunsalutation_days_7_description": "Lakukan ini pada 7 tanggal berbeda: rangkaian salam matahari yang selesai.",
"achievement_sunsalutation_days_30_title": "Salam matahari · 30 hari",
"achievement_sunsalutation_days_30_description": "Lakukan ini pada 30 tanggal berbeda: rangkaian salam matahari yang selesai.",
"achievement_sunsalutation_days_100_title": "Salam matahari · 100 hari",
"achievement_sunsalutation_days_100_description": "Lakukan ini pada 100 tanggal berbeda: rangkaian salam matahari yang selesai.",
"achievement_taichi_sessions_1_title": "Tai Chi · 1 hasil",
"achievement_taichi_sessions_1_description": "Catat 1 hasil berbeda: bagian kursus Tai Chi yang selesai.",
"achievement_taichi_sessions_5_title": "Tai Chi · 5 hasil",
"achievement_taichi_sessions_5_description": "Catat 5 hasil berbeda: bagian kursus Tai Chi yang selesai.",
"achievement_taichi_sessions_10_title": "Tai Chi · 10 hasil",
"achievement_taichi_sessions_10_description": "Catat 10 hasil berbeda: bagian kursus Tai Chi yang selesai.",
"achievement_taichi_sessions_25_title": "Tai Chi · 25 hasil",
"achievement_taichi_sessions_25_description": "Catat 25 hasil berbeda: bagian kursus Tai Chi yang selesai.",
"achievement_taichi_sessions_50_title": "Tai Chi · 50 hasil",
"achievement_taichi_sessions_50_description": "Catat 50 hasil berbeda: bagian kursus Tai Chi yang selesai.",
"achievement_taichi_sessions_100_title": "Tai Chi · 100 hasil",
"achievement_taichi_sessions_100_description": "Catat 100 hasil berbeda: bagian kursus Tai Chi yang selesai.",
"achievement_taichi_days_3_title": "Tai Chi · 3 hari",
"achievement_taichi_days_3_description": "Lakukan ini pada 3 tanggal berbeda: bagian kursus Tai Chi yang selesai.",
"achievement_taichi_days_7_title": "Tai Chi · 7 hari",
"achievement_taichi_days_7_description": "Lakukan ini pada 7 tanggal berbeda: bagian kursus Tai Chi yang selesai.",
"achievement_taichi_days_30_title": "Tai Chi · 30 hari",
"achievement_taichi_days_30_description": "Lakukan ini pada 30 tanggal berbeda: bagian kursus Tai Chi yang selesai.",
"achievement_taichi_days_100_title": "Tai Chi · 100 hari",
"achievement_taichi_days_100_description": "Lakukan ini pada 100 tanggal berbeda: bagian kursus Tai Chi yang selesai."
}
-122
View File
@@ -1,122 +0,0 @@
{
"achievement_practices_sessions_1_title": "Pratiche · 1 risultati",
"achievement_practices_sessions_1_description": "Registra 1 risultati distinti: una pratica valida salvata.",
"achievement_practices_sessions_5_title": "Pratiche · 5 risultati",
"achievement_practices_sessions_5_description": "Registra 5 risultati distinti: una pratica valida salvata.",
"achievement_practices_sessions_10_title": "Pratiche · 10 risultati",
"achievement_practices_sessions_10_description": "Registra 10 risultati distinti: una pratica valida salvata.",
"achievement_practices_sessions_25_title": "Pratiche · 25 risultati",
"achievement_practices_sessions_25_description": "Registra 25 risultati distinti: una pratica valida salvata.",
"achievement_practices_sessions_50_title": "Pratiche · 50 risultati",
"achievement_practices_sessions_50_description": "Registra 50 risultati distinti: una pratica valida salvata.",
"achievement_practices_sessions_100_title": "Pratiche · 100 risultati",
"achievement_practices_sessions_100_description": "Registra 100 risultati distinti: una pratica valida salvata.",
"achievement_practices_sessions_250_title": "Pratiche · 250 risultati",
"achievement_practices_sessions_250_description": "Registra 250 risultati distinti: una pratica valida salvata.",
"achievement_practices_days_7_title": "Pratiche · 7 giorni",
"achievement_practices_days_7_description": "Fallo in 7 date distinte: una pratica valida salvata.",
"achievement_practices_days_30_title": "Pratiche · 30 giorni",
"achievement_practices_days_30_description": "Fallo in 30 date distinte: una pratica valida salvata.",
"achievement_practices_days_100_title": "Pratiche · 100 giorni",
"achievement_practices_days_100_description": "Fallo in 100 date distinte: una pratica valida salvata.",
"achievement_whm_sessions_1_title": "Respirazione Wim Hof · 1 risultati",
"achievement_whm_sessions_1_description": "Registra 1 risultati distinti: un ciclo respiratorio salvato.",
"achievement_whm_sessions_5_title": "Respirazione Wim Hof · 5 risultati",
"achievement_whm_sessions_5_description": "Registra 5 risultati distinti: un ciclo respiratorio salvato.",
"achievement_whm_sessions_10_title": "Respirazione Wim Hof · 10 risultati",
"achievement_whm_sessions_10_description": "Registra 10 risultati distinti: un ciclo respiratorio salvato.",
"achievement_whm_sessions_25_title": "Respirazione Wim Hof · 25 risultati",
"achievement_whm_sessions_25_description": "Registra 25 risultati distinti: un ciclo respiratorio salvato.",
"achievement_whm_sessions_50_title": "Respirazione Wim Hof · 50 risultati",
"achievement_whm_sessions_50_description": "Registra 50 risultati distinti: un ciclo respiratorio salvato.",
"achievement_whm_sessions_100_title": "Respirazione Wim Hof · 100 risultati",
"achievement_whm_sessions_100_description": "Registra 100 risultati distinti: un ciclo respiratorio salvato.",
"achievement_whm_days_3_title": "Respirazione Wim Hof · 3 giorni",
"achievement_whm_days_3_description": "Fallo in 3 date distinte: un ciclo respiratorio salvato.",
"achievement_whm_days_7_title": "Respirazione Wim Hof · 7 giorni",
"achievement_whm_days_7_description": "Fallo in 7 date distinte: un ciclo respiratorio salvato.",
"achievement_whm_days_30_title": "Respirazione Wim Hof · 30 giorni",
"achievement_whm_days_30_description": "Fallo in 30 date distinte: un ciclo respiratorio salvato.",
"achievement_whm_days_100_title": "Respirazione Wim Hof · 100 giorni",
"achievement_whm_days_100_description": "Fallo in 100 date distinte: un ciclo respiratorio salvato.",
"achievement_meditation_sessions_1_title": "Meditazione · 1 risultati",
"achievement_meditation_sessions_1_description": "Registra 1 risultati distinti: almeno un minuto di meditazione salvata.",
"achievement_meditation_sessions_5_title": "Meditazione · 5 risultati",
"achievement_meditation_sessions_5_description": "Registra 5 risultati distinti: almeno un minuto di meditazione salvata.",
"achievement_meditation_sessions_10_title": "Meditazione · 10 risultati",
"achievement_meditation_sessions_10_description": "Registra 10 risultati distinti: almeno un minuto di meditazione salvata.",
"achievement_meditation_sessions_25_title": "Meditazione · 25 risultati",
"achievement_meditation_sessions_25_description": "Registra 25 risultati distinti: almeno un minuto di meditazione salvata.",
"achievement_meditation_sessions_50_title": "Meditazione · 50 risultati",
"achievement_meditation_sessions_50_description": "Registra 50 risultati distinti: almeno un minuto di meditazione salvata.",
"achievement_meditation_days_3_title": "Meditazione · 3 giorni",
"achievement_meditation_days_3_description": "Fallo in 3 date distinte: almeno un minuto di meditazione salvata.",
"achievement_meditation_days_7_title": "Meditazione · 7 giorni",
"achievement_meditation_days_7_description": "Fallo in 7 date distinte: almeno un minuto di meditazione salvata.",
"achievement_meditation_days_30_title": "Meditazione · 30 giorni",
"achievement_meditation_days_30_description": "Fallo in 30 date distinte: almeno un minuto di meditazione salvata.",
"achievement_meditation_minutes_60_title": "Meditazione · 60 minuti",
"achievement_meditation_minutes_60_description": "Accumula 60 minuti: almeno un minuto di meditazione salvata.",
"achievement_meditation_minutes_600_title": "Meditazione · 600 minuti",
"achievement_meditation_minutes_600_description": "Accumula 600 minuti: almeno un minuto di meditazione salvata.",
"achievement_patterns_sessions_1_title": "Schemi respiratori · 1 risultati",
"achievement_patterns_sessions_1_description": "Registra 1 risultati distinti: almeno un minuto di schema respiratorio salvato.",
"achievement_patterns_sessions_5_title": "Schemi respiratori · 5 risultati",
"achievement_patterns_sessions_5_description": "Registra 5 risultati distinti: almeno un minuto di schema respiratorio salvato.",
"achievement_patterns_sessions_10_title": "Schemi respiratori · 10 risultati",
"achievement_patterns_sessions_10_description": "Registra 10 risultati distinti: almeno un minuto di schema respiratorio salvato.",
"achievement_patterns_sessions_25_title": "Schemi respiratori · 25 risultati",
"achievement_patterns_sessions_25_description": "Registra 25 risultati distinti: almeno un minuto di schema respiratorio salvato.",
"achievement_patterns_sessions_50_title": "Schemi respiratori · 50 risultati",
"achievement_patterns_sessions_50_description": "Registra 50 risultati distinti: almeno un minuto di schema respiratorio salvato.",
"achievement_patterns_sessions_100_title": "Schemi respiratori · 100 risultati",
"achievement_patterns_sessions_100_description": "Registra 100 risultati distinti: almeno un minuto di schema respiratorio salvato.",
"achievement_patterns_days_7_title": "Schemi respiratori · 7 giorni",
"achievement_patterns_days_7_description": "Fallo in 7 date distinte: almeno un minuto di schema respiratorio salvato.",
"achievement_patterns_days_30_title": "Schemi respiratori · 30 giorni",
"achievement_patterns_days_30_description": "Fallo in 30 date distinte: almeno un minuto di schema respiratorio salvato.",
"achievement_patterns_preset_box_title": "Schemi respiratori · 1 risultati",
"achievement_patterns_preset_box_description": "Registra 1 risultati distinti: almeno un minuto salvato di respirazione quadrata.",
"achievement_patterns_preset_coherent_title": "Schemi respiratori · 1 risultati",
"achievement_patterns_preset_coherent_description": "Registra 1 risultati distinti: almeno un minuto salvato di respirazione coerente.",
"achievement_sunsalutation_sessions_1_title": "Saluto al sole · 1 risultati",
"achievement_sunsalutation_sessions_1_description": "Registra 1 risultati distinti: una sequenza completa di saluto al sole.",
"achievement_sunsalutation_sessions_5_title": "Saluto al sole · 5 risultati",
"achievement_sunsalutation_sessions_5_description": "Registra 5 risultati distinti: una sequenza completa di saluto al sole.",
"achievement_sunsalutation_sessions_10_title": "Saluto al sole · 10 risultati",
"achievement_sunsalutation_sessions_10_description": "Registra 10 risultati distinti: una sequenza completa di saluto al sole.",
"achievement_sunsalutation_sessions_25_title": "Saluto al sole · 25 risultati",
"achievement_sunsalutation_sessions_25_description": "Registra 25 risultati distinti: una sequenza completa di saluto al sole.",
"achievement_sunsalutation_sessions_50_title": "Saluto al sole · 50 risultati",
"achievement_sunsalutation_sessions_50_description": "Registra 50 risultati distinti: una sequenza completa di saluto al sole.",
"achievement_sunsalutation_sessions_100_title": "Saluto al sole · 100 risultati",
"achievement_sunsalutation_sessions_100_description": "Registra 100 risultati distinti: una sequenza completa di saluto al sole.",
"achievement_sunsalutation_days_3_title": "Saluto al sole · 3 giorni",
"achievement_sunsalutation_days_3_description": "Fallo in 3 date distinte: una sequenza completa di saluto al sole.",
"achievement_sunsalutation_days_7_title": "Saluto al sole · 7 giorni",
"achievement_sunsalutation_days_7_description": "Fallo in 7 date distinte: una sequenza completa di saluto al sole.",
"achievement_sunsalutation_days_30_title": "Saluto al sole · 30 giorni",
"achievement_sunsalutation_days_30_description": "Fallo in 30 date distinte: una sequenza completa di saluto al sole.",
"achievement_sunsalutation_days_100_title": "Saluto al sole · 100 giorni",
"achievement_sunsalutation_days_100_description": "Fallo in 100 date distinte: una sequenza completa di saluto al sole.",
"achievement_taichi_sessions_1_title": "Tai Chi · 1 risultati",
"achievement_taichi_sessions_1_description": "Registra 1 risultati distinti: una parte completata del corso di Tai Chi.",
"achievement_taichi_sessions_5_title": "Tai Chi · 5 risultati",
"achievement_taichi_sessions_5_description": "Registra 5 risultati distinti: una parte completata del corso di Tai Chi.",
"achievement_taichi_sessions_10_title": "Tai Chi · 10 risultati",
"achievement_taichi_sessions_10_description": "Registra 10 risultati distinti: una parte completata del corso di Tai Chi.",
"achievement_taichi_sessions_25_title": "Tai Chi · 25 risultati",
"achievement_taichi_sessions_25_description": "Registra 25 risultati distinti: una parte completata del corso di Tai Chi.",
"achievement_taichi_sessions_50_title": "Tai Chi · 50 risultati",
"achievement_taichi_sessions_50_description": "Registra 50 risultati distinti: una parte completata del corso di Tai Chi.",
"achievement_taichi_sessions_100_title": "Tai Chi · 100 risultati",
"achievement_taichi_sessions_100_description": "Registra 100 risultati distinti: una parte completata del corso di Tai Chi.",
"achievement_taichi_days_3_title": "Tai Chi · 3 giorni",
"achievement_taichi_days_3_description": "Fallo in 3 date distinte: una parte completata del corso di Tai Chi.",
"achievement_taichi_days_7_title": "Tai Chi · 7 giorni",
"achievement_taichi_days_7_description": "Fallo in 7 date distinte: una parte completata del corso di Tai Chi.",
"achievement_taichi_days_30_title": "Tai Chi · 30 giorni",
"achievement_taichi_days_30_description": "Fallo in 30 date distinte: una parte completata del corso di Tai Chi.",
"achievement_taichi_days_100_title": "Tai Chi · 100 giorni",
"achievement_taichi_days_100_description": "Fallo in 100 date distinte: una parte completata del corso di Tai Chi."
}
+119 -16
View File
@@ -6,6 +6,7 @@
#import, file "astral_projection_rules.zi";
#import, file "astral_scene_view.zi";
#import, file "../../src/app/app_types.zi";
#import, file "../../src/app/app_settings.zi";
#import, file "../../src/app/app_modal_state.zi";
#import, file "../../src/app/app_nav_state.zi";
#import, file "../../src/app/app_route_state.zi";
@@ -18,6 +19,7 @@
#import, file "../../src/app/modal_rules.zi";
#import, file "../../src/app/practice_title_bar.zi";
#import, file "../../src/app/session_screen.zi";
#import, file "../../src/app/session_details.zi";
#import, file "../../src/app/text_buffers.zi";
#import, file "../../src/app/app_notifications.zi";
#import, file "../../src/core/types.zi";
@@ -31,18 +33,17 @@
#import "locale_policy"
#import "byte_text_linux"
#import "text_buffer"
#import "kryon/layout"
#import "layout"
#import "session"
#import "button_props"
#import "button_widget"
#import "kryon/Kryon"
#import "control_props"
#import "geometry"
#import "scroll_props"
#import "scroll_widget"
#import "text_align"
#import "text_props"
#import "text_widget"
#import "tree"
#import "kryon/tree"
c :: #system_library "c";
GetFrameTime :: () -> float32 #foreign c;
@@ -72,14 +73,85 @@ AstralActive :: (app: *InnerBreeze) -> s32 {
return ifx app != null && app_session_screen(app) == ScreenAstralProjection then 1 else 0
}
astral_legacy: bool;
astral_content_error: bool;
astral_reveal_selection: bool;
astral_catalogue: AstralCatalogue;
AstralLegacyAvailable :: () -> bool {
return !AssetRead("assets/practices/astral_projection/catalogue.json").found
}
astral_catalogue_generation: u64;
astral_session_practice: AstralPractice;
AstralCatalogueLoad :: () -> bool {
generation := AssetGeneration()
if astral_catalogue.count == 6 && astral_catalogue_generation == generation {
return true
}
asset := AssetRead("assets/practices/astral_projection/catalogue.json")
if !asset.found || !AstralCatalogueParse(asset.data, *astral_catalogue) {
return false
}
astral_catalogue_generation = generation
astral_content_error = false
return true
}
AstralSelection :: (app: *InnerBreeze) -> s32 {
return AstralSelectedIndex(*astral_catalogue, TextFromCString(*app.astral_projection_exercise[0]))
}
// Start enters the same selection and guide page as How to. No session or
// narration begins until the person presses Start on that page.
AstralStart :: (app: *InnerBreeze) {
if app == null || !ActivityStartAllowed() {
return
}
asset := AssetRead("assets/practices/astral_projection/session.json")
if !asset.found || !AstralCourseParse(asset.data, *astral_course) {
if AstralLegacyAvailable() {
AstralStartSelected(app)
return
}
astral_content_error = !AstralCatalogueLoad()
astral_reveal_selection = true
app.manual_scroll = 0
app.tutorial_step = 0
app_switch_screen(app, ScreenStart)
app_open_modal(app, cast(ModalType)ModalPracticeManual)
}
AstralStartSelected :: (app: *InnerBreeze) {
if app == null || !ActivityStartAllowed() {
return
}
astral_legacy = AstralLegacyAvailable()
selected: AstralPractice
path: [192]u8
if astral_legacy {
unused AppCopyText("assets/practices/astral_projection/session.json", path[:])
} else {
if !AstralCatalogueLoad() {
astral_content_error = true
return
}
selected = astral_catalogue.practices[AstralSelection(app)]
unused AppCopyText("assets/practices/astral_projection/sessions/", path[:])
unused AppAppendText(TextFromCString(*selected.id[0]), path[:])
unused AppAppendText(".json", path[:])
}
asset := AssetRead(TextUntilNul(path[:]))
if !asset.found || !AstralCourseParse(asset.data, *astral_course) ||
(!astral_legacy && astral_course.duration != selected.duration) {
astral_content_error = true
return
}
astral_content_error = false
astral_session_practice = selected
if !astral_legacy {
unused AppCopyText(TextFromCString(*selected.id[0]), app.astral_projection_exercise[:])
save_settings(app)
}
mark_exercise_manual_seen(app, EXERCISE_ASTRAL_PROJECTION)
astral_clock = AstralClock.{}
astral_frame_carry = 0.0
@@ -98,17 +170,32 @@ AstralElapsed :: () -> s32 {
}
AstralDuration :: () -> s32 {
return 0
return ifx astral_legacy then 0 else astral_course.duration
}
AstralRemaining :: () -> s32 {
return 0
return ifx AstralElapsed() < AstralDuration() then AstralDuration() - AstralElapsed() else 0
}
AstralSave :: (app: *InnerBreeze, output: *u8, capacity: s64) {
seconds := AstralElapsed()
if seconds >= 60 && data_save_session_path_for_activity(*seconds, 1, 0,
EXERCISE_ASTRAL_PROJECTION, output, capacity) != 0 {
if seconds < 60 {
return
}
details := SessionDetails.{.version = SessionDetailsVersion, .duration_seconds = seconds}
if !astral_legacy {
unused AppCopyText(TextFromCString(*astral_session_practice.id[0]), details.item[:])
unused AppCopyText(AstralText(TextFromCString(*astral_session_practice.title_key[0])), details.title[:])
}
// Storage always returns an identity, including exits which do not show
// a results page. Keep that output alive for the duration of the save.
saved_path: [FS_PATH_MAX]u8
if output == null || capacity <= 0 {
output = *saved_path[0]
capacity = size_of(type_of(saved_path))
}
if data_save_session_path_with_details(*seconds, 1, 0, EXERCISE_ASTRAL_PROJECTION,
*details, output, capacity) != 0 {
sync_habits_for_activity(app, EXERCISE_ASTRAL_PROJECTION)
unused app_auto_sync(app)
}
@@ -134,7 +221,17 @@ AstralAdvanceElapsed :: (app: *InnerBreeze, milliseconds: s32) {
if AstralActive(app) == 0 {
return
}
astral_clock = AstralAdvance(astral_clock, milliseconds, app.session_paused != 0)
astral_clock = AstralAdvanceSession(astral_clock, milliseconds, app.session_paused != 0,
AstralDuration())
if AstralDuration() > 0 && AstralRemaining() == 0 {
result_path: [FS_PATH_MAX]u8
AstralSave(app, *result_path[0], size_of(type_of(result_path)))
send_session_complete(app)
AstralStop(app)
app_prepare_session_results(app, EXERCISE_ASTRAL_PROJECTION,
AstralElapsed(), 0, null, null, 0, *result_path[0])
app_switch_screen(app, ScreenResults)
}
}
AstralCueKey :: () -> string {
@@ -189,18 +286,22 @@ AstralTextAsset :: (code: string) -> AssetView {
return AssetRead(TextUntilNul(path[:]))
}
AstralCueText :: () -> string {
AstralText :: (key: string) -> string {
localized := AstralTextAsset(LocaleActiveCode())
english := AstralTextAsset("en")
return LocaleResolveCatalog(localized.data, english.data, AstralCueKey())
return LocaleResolveCatalog(localized.data, english.data, key)
}
AstralCueText :: () -> string {
return AstralText(AstralCueKey())
}
AstralTimeText :: (output: []u8) -> string {
cursor: s32 = 0
output[0] = cast(u8)0
unused TextBufferAppendNumber(output, *cursor, AstralElapsed() / 60)
unused TextBufferAppendNumber(output, *cursor, (ifx astral_legacy then AstralElapsed() else AstralRemaining()) / 60)
unused TextBufferAppendByte(output, *cursor, cast(u8)58)
seconds := AstralElapsed() % 60
seconds := (ifx astral_legacy then AstralElapsed() else AstralRemaining()) % 60
if seconds < 10 {
unused TextBufferAppendByte(output, *cursor, cast(u8)48)
}
@@ -223,7 +324,8 @@ AstralSessionFigure :: (app: *InnerBreeze, request: PracticeFigureRequest) {
AstralDraw :: (app: *InnerBreeze, center_x: s32, center_y: s32) {
top := PracticeTitleBarHeight()
if PracticeTitleBar(app, LocaleText("exercise_astral_projection"), top) {
if PracticeTitleBar(app, ifx astral_legacy then LocaleText("exercise_astral_projection") else
AstralText(TextFromCString(*astral_session_practice.title_key[0])), top) {
AstralRequestExit(app)
}
if AstralExitPrompt(app) != 0 {
@@ -239,6 +341,7 @@ AstralDraw :: (app: *InnerBreeze, center_x: s32, center_y: s32) {
frame := PracticeMovementFrameFor(app, EXERCISE_ASTRAL_PROJECTION, top)
frame.time = FrameTextHold(*app.ui.frame_text, AstralTimeText(time[:]))
frame.cue = AstralCueText()
frame.progress = ifx AstralDuration() > 0 then AstralElapsed() * 1000 / AstralDuration() else 0
frame.scroll = astral_scroll
frame = PracticeMovementRun(app, frame, AstralSessionFigure)
astral_scroll = frame.scroll
+174 -15
View File
@@ -1,25 +1,28 @@
// Astral Projection's How to and Customize pages: the two-page guide, which
// Practices draws, and the music and voice narration it plays with.
manual_host :: #system_library "c";
app_start_practice_from_ui :: (app: *InnerBreeze, id: s32) -> bool #foreign manual_host "practice_actions_app_start_practice_from_ui";
// Astral Projection's pre-start exercise choices, selected guide and the
// existing music and narration settings.
#import "geometry"
#import, file "astral_scene_view.zi";
#import "modal_props"
#import "kryon/modal_frame_widget"
#import "guide_pager"
#import "drawing_props"
#import "image_props"
#import "image_widget"
#import "kryon/Kryon"
#import "kryon/button_widget"
#import "kryon/scroll_widget"
#import "kryon/text_widget"
#import "kryon/layout"
#import "layout"
#import "paint_queue"
#import "scroll"
#import "scroll_props"
#import "scroll_widget"
#import "session"
#import "style"
#import "style_sheet"
#import "surface"
#import "text_align"
#import "text_props"
#import "text_widget"
#import "tree"
#import "kryon/tree"
#import, file "../../src/app/app.zi";
#import, file "../../src/app/app_modal_state.zi";
#import, file "../../src/app/app_route_state.zi";
@@ -51,14 +54,12 @@ using ModalType;
using TextAlign;
using TextWrap;
ASTRAL_MANUAL_PAGES :: 2
AstralManualStart :: (app: *InnerBreeze) {
if app == null { return }
app.tutorial_step = 0
app.manual_scroll = 0
app.practice_tab = PRACTICE_TAB_PLAY
unused app_start_practice_from_ui(app, EXERCISE_ASTRAL_PROJECTION)
AstralStartSelected(app)
}
AstralManualClose :: (app: *InnerBreeze, mark_seen: s32) {
@@ -76,16 +77,163 @@ AstralManualClose :: (app: *InnerBreeze, mark_seen: s32) {
app_switch_screen(app, ScreenStart)
}
// Practices draws the manual (practice_manual_host.zi).
// The selection and its guide are package-owned and use the existing native
// storage/assets effects. The scroll body works on both desktop and portrait.
AstralManualDraw :: (app: *InnerBreeze) {
action := PracticeManualDraw(app)
if action == PRACTICE_MANUAL_CLOSE {
if app == null {
return
}
if AstralLegacyAvailable() {
action := PracticeManualDraw(app)
if action == PRACTICE_MANUAL_CLOSE {
AstralManualClose(app, 0)
} else if action == PRACTICE_MANUAL_START {
AstralManualStart(app)
}
return
}
available := AstralCatalogueLoad()
frame_props: ModalFrameProps
frame_props.key = KeyHash("astral/start-modal")
frame_props.title = LocaleText("exercise_astral_projection")
frame_props.width = AppScale(760)
frame_props.height = app.ui.view_height - AppScale(32)
if frame_props.height > AppScale(840) {
frame_props.height = AppScale(840)
}
frame_props.scale = MetricsScale()
frame_props.has_right_action = true
frame_props.right_label = LocaleText("close_button")
frame_props.right_image.asset_path = "icons/ui.webp"
frame_props.right_image.alt_text = frame_props.right_label
frame_props.right_image.source = Rectangle.{448.0, 384.0, 64.0, 64.0}
frame := ModalFrame(app.ui.session, frame_props)
if frame.dismissed || frame.right_clicked {
AstralManualClose(app, 0)
} else if action == PRACTICE_MANUAL_START {
return
}
if !frame.opened {
return
}
defer {
unused End(app.ui.session)
}
content := frame.layout.content
left := cast(s32)content.x
width := cast(s32)content.width
top := cast(s32)content.y
bottom := cast(s32)(content.y + content.height) - AppScale(52)
if width <= 0 || bottom <= top {
return
}
if !available || astral_content_error {
Text(app.ui.session, TextProps.{.text = LocaleText("astral_content_unavailable"),
.bounds = Rectangle.{content.x, content.y, content.width, content.height},
.font = AppFontSize(), .wrap = cast(TextWrap)TextWrapAuto})
return
}
pad := AppScale(16)
selected := AstralSelection(app)
preview_height := AppScale(112)
if bottom - top < AppScale(280) {
preview_height = AppScale(64)
}
AstralPreviewDraw(app.ui.session, selected,
Rectangle.{cast(float32)left, cast(float32)top,
cast(float32)width, cast(float32)preview_height},
app.dark_mode != 0, KeyHash("astral/preview"),
AstralText(TextFromCString(*astral_catalogue.practices[selected].title_key[0])))
top += preview_height
showing_guide := app.tutorial_step == 1
heights: [6]s32
durations: [6][64]u8
total: s32 = 0
for index: cast(s32)0..astral_catalogue.count - 1 {
row := astral_catalogue.practices[index]
title := AstralText(TextFromCString(*row.title_key[0]))
description := AstralText(TextFromCString(*row.description_key[0]))
heights[index] = AstralParagraphHeight(app, title, width - pad * 2) +
AstralParagraphHeight(app, description, width - pad * 2) + AppScale(72)
total += heights[index] + AppScale(12)
}
guide := AstralText(TextFromCString(*astral_catalogue.practices[selected].guide_key[0]))
guide_h := AstralParagraphHeight(app, guide, width)
if showing_guide {
total = guide_h + AppScale(24)
}
if !showing_guide && astral_reveal_selection {
app.manual_scroll = 0
for index: cast(s32)0..selected - 1 {
app.manual_scroll += heights[index] + AppScale(12)
}
astral_reveal_selection = false
}
scrolled := Scroll(app.ui.session, ScrollProps.{.key = KeyHash("astral/selection"),
.bounds = Rectangle.{cast(float32)left, cast(float32)(top + AppScale(12)),
cast(float32)width, cast(float32)(bottom - top - AppScale(24))},
.content_height = total, .scroll_offset = app.manual_scroll})
app.manual_scroll = scrolled.scroll_offset
if scrolled.opened {
y := cast(s32)scrolled.content.y
if !showing_guide {
for index: cast(s32)0..astral_catalogue.count - 1 {
row := astral_catalogue.practices[index]
title := AstralText(TextFromCString(*row.title_key[0]))
description := AstralText(TextFromCString(*row.description_key[0]))
card := Rectangle.{cast(float32)left, cast(float32)y,
cast(float32)width, cast(float32)(AstralParagraphHeight(app, title, width - pad * 2) + AppScale(24))}
if Button(app.ui.session, ButtonProps.{.key = KeyHash("astral/exercise") + cast(u64)index,
.bounds = card, .selected = index == selected,
.tone = ifx index == selected then cast(ButtonTone)ButtonToneAccent else cast(ButtonTone)ButtonToneNeutral,
.label = title, .fit_content = true}) != 0 {
unused AppCopyText(TextFromCString(*row.id[0]), app.astral_projection_exercise[:])
save_settings(app)
// Keep the selector in place while changing the selected guide.
}
// The labelled selection target occupies the heading; supporting
// copy and duration remain separate, readable text.
title_h := AstralParagraphHeight(app, title, width - pad * 2)
Text(app.ui.session, TextProps.{.text = description,
.bounds = Rectangle.{cast(float32)(left + pad), cast(float32)(y + title_h + AppScale(24)),
cast(float32)(width - pad * 2), cast(float32)AstralParagraphHeight(app, description, width - pad * 2)},
.font = AppFontSize(), .wrap = cast(TextWrap)TextWrapAuto})
unused FormatNumberTemplate(LocaleText("practice_home_minutes"), row.duration / 60, durations[index][:])
Text(app.ui.session, TextProps.{.text = TextUntilNul(durations[index][:]),
.bounds = Rectangle.{cast(float32)(left + pad), cast(float32)(y + heights[index] - AppScale(32)),
cast(float32)(width - pad * 2), cast(float32)AppScale(28)}, .font = AppSmallFontSize()})
y += heights[index] + AppScale(12)
}
} else {
Text(app.ui.session, TextProps.{.text = guide,
.bounds = Rectangle.{cast(float32)left, cast(float32)(y + AppScale(12)),
cast(float32)width, cast(float32)guide_h},
.font = AppFontSize(), .wrap = cast(TextWrap)TextWrapAuto})
}
unused End(app.ui.session)
}
gap := AppScale(12)
button_w := (width - gap) / 2
if Button(app.ui.session, ButtonProps.{.key = KeyHash("astral/guide"),
.bounds = Rectangle.{cast(float32)left, cast(float32)bottom,
cast(float32)button_w, cast(float32)AppScale(52)},
.label = LocaleText(ifx showing_guide then "back_button" else "practice_manual_button")}) != 0 {
app.tutorial_step = ifx showing_guide then 0 else 1
app.manual_scroll = 0
astral_reveal_selection = showing_guide
}
if Button(app.ui.session, ButtonProps.{.key = KeyHash("astral/start-selected"),
.bounds = Rectangle.{cast(float32)(left + button_w + gap), cast(float32)bottom,
cast(float32)button_w, cast(float32)AppScale(52)},
.label = LocaleText("practice_start_button"), .fit_content = true}) != 0 {
AstralManualStart(app)
}
}
AstralParagraphHeight :: (app: *InnerBreeze, text: string, width: s32) -> s32 {
return TextHeight(app.ui.session, TextProps.{.text = text, .font = AppFontSize(),
.bounds = Rectangle.{0.0, 0.0, cast(float32)width, 0.0}, .wrap = cast(TextWrap)TextWrapAuto})
}
// Customize: the music that plays, and the voice narration with its
// language, which Practices draws (practice_settings_host.zi).
AstralConfigDraw :: (app: *InnerBreeze) {
@@ -93,3 +241,14 @@ AstralConfigDraw :: (app: *InnerBreeze) {
PracticeConfigLeave(app, cast(s32)ModalPracticeConfig)
}
}
#import, file "astral_projection.zi";
#import, file "astral_projection_rules.zi";
#import, file "../../src/app/text_buffers.zi";
#import, file "../../src/app/practice_title_bar.zi";
#import "button_props"
#import "text_measure"
#import "text_buffer"
#import "byte_text_linux"
#import "control_props"
using ButtonTone;
+93 -3
View File
@@ -1,4 +1,4 @@
// Bounded downloadable guidance within an open-ended session.
// Bounded downloadable sessions and their pre-start catalogue.
#import "json_scan"
#import "byte_text_linux"
@@ -10,7 +10,7 @@ AstralCue :: struct {
}
AstralCourse :: struct {
// Length of the narrated introduction, never a session limit.
// The selected practice ends after its final return and quiet period.
duration: s32
count: s32
cues: [AstralCueCapacity]AstralCue
@@ -56,7 +56,7 @@ AstralCourseParse :: (data: string, course: *AstralCourse) -> bool {
length := ReadStringText(data, FieldAt(data, at, "key"), parsed.cues[index].key[:])
key := TextFromCString(*parsed.cues[index].key[0])
if second <= previous || (index == 0 && second != 0) ||
length <= 12 || length >= 64 || key[:12] != "astral_text_" {
length <= 12 || length >= 64 || cast(s32)key.count != length || key[:12] != "astral_text_" {
return false
}
for byte: key {
@@ -99,3 +99,93 @@ AstralAdvance :: (clock: AstralClock, elapsed_ms: s32, paused: bool) -> AstralCl
}
return AstralClock.{cast(s32)seconds, cast(s32)(total % 1000)}
}
AstralPractice :: struct {
id: [64]u8
duration: s32
title_key: [64]u8
description_key: [64]u8
guide_key: [64]u8
}
AstralCatalogue :: struct {
count: s32
practices: [6]AstralPractice
}
AstralIdentifier :: (value: string) -> bool {
if value.count == 0 || value.count >= 64 {
return false
}
for byte: value {
if !((byte >= cast(u8)97 && byte <= cast(u8)122) ||
(byte >= cast(u8)48 && byte <= cast(u8)57) || byte == cast(u8)95) {
return false
}
}
return true
}
AstralCatalogueParse :: (data: string, catalogue: *AstralCatalogue) -> bool {
catalogue.* = AstralCatalogue.{}
end := ValueEnd(data, 0, 0)
if data.count > 8192 || end < 0 || Space(data, end) != cast(s32)data.count ||
AstralInteger(data, FieldAt(data, 0, "schema"), 1) != 1 {
return false
}
rows := FieldAt(data, 0, "practices")
count := ArrayCount(data, rows)
if count != 6 {
return false
}
parsed: AstralCatalogue
parsed.count = count
for index: cast(s32)0..count - 1 {
at := ElementAt(data, rows, index)
practice: AstralPractice
id_length := ReadStringText(data, FieldAt(data, at, "id"), practice.id[:])
title_length := ReadStringText(data, FieldAt(data, at, "title_key"), practice.title_key[:])
description_length := ReadStringText(data, FieldAt(data, at, "description_key"), practice.description_key[:])
guide_length := ReadStringText(data, FieldAt(data, at, "guide_key"), practice.guide_key[:])
if id_length <= 0 || title_length <= 0 || description_length <= 0 || guide_length <= 0 {
return false
}
practice.duration = AstralInteger(data, FieldAt(data, at, "duration"), 3600)
id := TextFromCString(*practice.id[0])
if id.count != id_length ||
TextFromCString(*practice.title_key[0]).count != title_length ||
TextFromCString(*practice.description_key[0]).count != description_length ||
TextFromCString(*practice.guide_key[0]).count != guide_length || !AstralIdentifier(id) ||
!AstralIdentifier(TextFromCString(*practice.title_key[0])) ||
!AstralIdentifier(TextFromCString(*practice.description_key[0])) ||
!AstralIdentifier(TextFromCString(*practice.guide_key[0])) || practice.duration < 60 {
return false
}
for earlier: cast(s32)0..index - 1 {
if id == TextFromCString(*parsed.practices[earlier].id[0]) {
return false
}
}
parsed.practices[index] = practice
}
catalogue.* = parsed
return true
}
AstralSelectedIndex :: (catalogue: *AstralCatalogue, id: string) -> s32 {
for index: cast(s32)0..catalogue.count - 1 {
if TextFromCString(*catalogue.practices[index].id[0]) == id {
return index
}
}
return 0
}
AstralAdvanceSession :: (clock: AstralClock, milliseconds: s32, paused: bool,
duration: s32) -> AstralClock {
next := AstralAdvance(clock, milliseconds, paused)
if duration > 0 && next.elapsed_seconds >= duration {
return AstralClock.{duration, 0}
}
return next
}
+33 -1
View File
@@ -31,7 +31,39 @@ AstralSceneRing :: (view: *TaiChiFlatView, radius: float64, phase: float64, colo
AstralSceneDraw :: (session: Session, milliseconds: s64, area: Rectangle, dark: bool, key: u64, alt_text: string) {
if area.width <= 0.0 || area.height <= 0.0 { return }
scene := AstralSceneAt(milliseconds)
AstralScenePaint(session, AstralSceneAt(milliseconds), area, dark, key, alt_text)
}
// Visual cues distinguish touch, circulation, lift, spin, rope and roll-out.
// They are previews only; they never advance a session or trigger audio.
AstralPreviewDraw :: (session: Session, exercise: s32, area: Rectangle,
dark: bool, key: u64, alt_text: string) {
scene := AstralSceneAt(0)
if exercise == 0 {
WorkoutHandsAt(*scene.pose, WORKOUT_AT_WORLD, 0.12, 0.22, -0.1)
} else if exercise == 1 {
scene.camera.yaw = -35.0 * TAI_CHI_DEGREE
scene.phase = 1.4
} else if exercise == 2 {
WorkoutLift(*scene.pose, 0.8)
scene.camera.tilt = 12.0 * TAI_CHI_DEGREE
} else if exercise == 3 {
scene.camera.yaw = 60.0 * TAI_CHI_DEGREE
scene.phase = 2.8
} else if exercise == 4 {
WorkoutHandsAt(*scene.pose, WORKOUT_AT_WORLD, 0.15, 0.8, -0.2)
WorkoutElbows(*scene.pose, 0.25, 0.5, -0.15)
} else if exercise == 5 {
WorkoutBody(*scene.pose, 0.0, 0.18, 0.0, 0.0, -90.0, 55.0, 0.0, 0.0, 2.0)
}
AstralScenePaint(session, scene, area, dark, key, alt_text)
}
AstralScenePaint :: (session: Session, scene: AstralScene, area: Rectangle,
dark: bool, key: u64, alt_text: string) {
if area.width <= 0.0 || area.height <= 0.0 {
return
}
framing: TaiChiFraming
framing.camera = scene.camera
framing.view_height = 1.9
+6
View File
@@ -63,6 +63,12 @@
"receipt": "design/workout/narration-receipt.json",
"text_directory": "assets/practices/workout/text",
"output_directory": "assets/practices/workout/voice"
},
"astral_projection_bruce": {
"config": "design/astral-projection/bruce-narration.json",
"receipt": "design/astral-projection/bruce-narration-receipt.json",
"text_directory": "assets/practices/astral_projection/text",
"output_directory": "assets/practices/astral_projection/voice"
}
}
}
+16
View File
@@ -0,0 +1,16 @@
// One boundary for the public course preview and runtime item access.
TAI_CHI_FREE_FORM_LESSONS :: 3
TaiChiItemFree :: (id: string) -> bool {
foundation := "foundations/"
if id.count > foundation.count && id[0:foundation.count] == foundation {
return true
}
prefix := "lesson-"
if id.count <= prefix.count + 2 || id[0:prefix.count] != prefix {
return false
}
number := cast(s32)id[prefix.count] - cast(s32)48
return number >= 1 && number <= TAI_CHI_FREE_FORM_LESSONS &&
id[prefix.count + 1] == cast(u8)47
}
+8 -6
View File
@@ -3,22 +3,24 @@
#import "session"
#import "geometry"
#import "dpi"
#import "kryon/layout"
#import "layout"
#import "text_props"
#import "semantic"
#import "text_align"
#import "text_widget"
#import "text_measure"
#import "button_props"
#import "button_widget"
#import "control_props"
#import "dropdown_props"
#import "dropdown_widget"
#import "kryon/Kryon"
#import "kryon/button_widget"
#import "kryon/dropdown_widget"
#import "kryon/modal_frame_widget"
#import "kryon/scroll_widget"
#import "kryon/text_widget"
#import "modal_props"
#import "modal_frame_widget"
#import "scroll_props"
#import "scroll_widget"
#import "tree"
#import "kryon/tree"
#import, file "../../src/apps/practice_ui_types.zi";
#import, file "../../src/apps/practice_types.zi";
#import, file "../../src/app/exercise_types.zi";
+11 -10
View File
@@ -8,33 +8,34 @@
#import "geometry"
#import "vec"
#import "dpi"
#import "kryon/layout"
#import "layout"
#import "drawing_props"
#import "text_props"
#import "text_align"
#import "text_widget"
#import "text_measure"
#import "button_props"
#import "button_widget"
#import "control_props"
#import "box_props"
#import "box_widget"
#import "image_props"
#import "image_widget"
#import "scroll_props"
#import "scroll_widget"
#import "shape_props"
#import "shape_widget"
#import "slider_props"
#import "slider_widget"
#import "kryon/Kryon"
#import "kryon/slider"
#import "kryon/box_widget"
#import "kryon/button_widget"
#import "kryon/image_widget"
#import "kryon/scroll_widget"
#import "kryon/shape_widget"
#import "kryon/text_widget"
#import "kryon/title_bar_widget"
#import "progress_props"
#import "progress_widget"
#import "title_bar_props"
#import "title_bar_widget"
#import "dropdown_props"
#import "swipe_props"
#import "swipe"
#import "tree"
#import "kryon/tree"
#import, file "../../src/apps/practice_ui_types.zi";
#import, file "../../src/apps/practice_types.zi";
#import, file "../../src/app/exercise_types.zi";
+4 -3
View File
@@ -8,13 +8,14 @@
#import "drawing_props"
#import "text_props"
#import "text_align"
#import "text_widget"
#import "kryon/Kryon"
#import "kryon/button_widget"
#import "kryon/shape_widget"
#import "kryon/text_widget"
#import "text_measure"
#import "button_props"
#import "button_widget"
#import "control_props"
#import "shape_props"
#import "shape_widget"
#import, file "../../src/apps/practice_ui_types.zi";
#import, file "../../src/apps/practice_types.zi";
+12 -9
View File
@@ -1,30 +1,30 @@
#import "session"
#import "geometry"
#import "dpi"
#import "kryon/layout"
#import "layout"
#import "vec"
#import "drawing_props"
#import "text_props"
#import "text_align"
#import "text_widget"
#import "text_measure"
#import "button_props"
#import "button_widget"
#import "control_props"
#import "toolbar"
#import "toolbar_props"
#import "image_props"
#import "progress_props"
#import "progress_widget"
#import "kryon/Kryon"
#import "kryon/box_widget"
#import "kryon/button_widget"
#import "kryon/scroll_widget"
#import "kryon/shape_widget"
#import "kryon/text_widget"
#import "box_props"
#import "box_widget"
#import "shape_props"
#import "shape_widget"
#import "scroll_props"
#import "scroll_widget"
#import "segmented_control_props"
#import "segmented_control_widget"
#import "tree"
#import "kryon/tree"
#import, file "../../src/apps/practice_ui_types.zi";
#import, file "../../src/apps/practice_types.zi";
#import, file "../../src/app/exercise_types.zi";
@@ -244,7 +244,10 @@ Astral :: () {
Text(movement.session, TextProps.{.text = movement.time,
.bounds = Bounds(pad, movement.top + Scale(12), width, Scale(48)),
.font = Scale(28), .align = cast(TextAlign)TextAlignCenter})
y := movement.top + Scale(80)
Progress(movement.session, ProgressProps.{.key = KeyHash("astral/progress"),
.bounds = Bounds(pad, movement.top + Scale(64), width, Scale(8)),
.min = 0, .max = 1000, .value = movement.progress})
y := movement.top + Scale(84)
button_y := movement.view_height - Scale(76)
height := button_y - y - Scale(16)
if height < Scale(40) {
+4 -3
View File
@@ -9,13 +9,14 @@
#import "drawing_props"
#import "text_props"
#import "text_align"
#import "text_widget"
#import "kryon/Kryon"
#import "kryon/button_widget"
#import "kryon/shape_widget"
#import "kryon/text_widget"
#import "text_measure"
#import "button_props"
#import "button_widget"
#import "control_props"
#import "shape_props"
#import "shape_widget"
#import, file "../../src/apps/practice_ui_types.zi";
#import, file "../../src/apps/practice_types.zi";
+4
View File
@@ -89,6 +89,10 @@ Main :: () -> s32 {
WritePracticeHost(PracticeSettingsView(message))
return 0
}
if message.action == PRACTICE_AUDIO_VIEW {
WritePracticeHost(PracticeSessionAudioView(message))
return 0
}
if message.action == PRACTICE_RESULTS_VIEW {
WritePracticeHost(PracticeResultsView(message))
return 0
+10 -7
View File
@@ -11,17 +11,18 @@
#import "drawing_props"
#import "text_props"
#import "text_align"
#import "text_widget"
#import "text_measure"
#import "button_props"
#import "button_widget"
#import "control_props"
#import "box_props"
#import "box_widget"
#import "image_props"
#import "image_widget"
#import "tab_bar_props"
#import "tab_bar_widget"
#import "kryon/Kryon"
#import "kryon/box_widget"
#import "kryon/button_widget"
#import "kryon/image_widget"
#import "kryon/tab_bar_widget"
#import "kryon/text_widget"
#import "swipe_props"
#import "swipe"
#import, file "../../src/apps/practice_ui_types.zi";
@@ -453,10 +454,12 @@ Page :: () {
.fill = home.canvas_color})
title.title.bounds.y += cast(float32)title_y
Text(home.session, title.title)
title_props: TextProps = title.title
Text(home.session, title_props)
if title.subtitle.text.count > 0 {
title.subtitle.bounds.y += cast(float32)title_y
Text(home.session, title.subtitle)
subtitle_props: TextProps = title.subtitle
Text(home.session, subtitle_props)
}
Status(x, title_y + title.height, content_width)
+8 -6
View File
@@ -8,22 +8,24 @@
#import "geometry"
#import "vec"
#import "dpi"
#import "kryon/layout"
#import "layout"
#import "drawing_props"
#import "text_props"
#import "text_align"
#import "text_widget"
#import "kryon/Kryon"
#import "kryon/box_widget"
#import "kryon/button_widget"
#import "kryon/scroll_widget"
#import "kryon/shape_widget"
#import "kryon/text_widget"
#import "text_measure"
#import "button_props"
#import "button_widget"
#import "control_props"
#import "box_props"
#import "box_widget"
#import "shape_props"
#import "shape_widget"
#import "scroll_props"
#import "scroll_widget"
#import "tree"
#import "kryon/tree"
#import, file "../../src/apps/practice_ui_types.zi";
#import, file "../../src/apps/practice_types.zi";
#import, file "../../src/app/exercise_types.zi";
+130 -12
View File
@@ -10,36 +10,37 @@
#import "geometry"
#import "vec"
#import "dpi"
#import "kryon/layout"
#import "layout"
#import "drawing_props"
#import "text_props"
#import "semantic"
#import "text_align"
#import "text_widget"
#import "text_measure"
#import "button_props"
#import "button_widget"
#import "control_props"
#import "box_props"
#import "box_widget"
#import "shape_props"
#import "shape_widget"
#import "toggle_props"
#import "toggle_widget"
#import "kryon/Kryon"
#import "kryon/slider"
#import "kryon/box_widget"
#import "kryon/button_widget"
#import "kryon/dropdown_widget"
#import "kryon/modal_frame_widget"
#import "kryon/scroll_widget"
#import "kryon/shape_widget"
#import "kryon/text_widget"
#import "kryon/title_bar_widget"
#import "kryon/toggle_widget"
#import "toggle_measure"
#import "dropdown_props"
#import "dropdown_widget"
#import "segmented_control_props"
#import "segmented_control_widget"
#import "scroll_props"
#import "scroll_widget"
#import "slider_props"
#import "slider_widget"
#import "modal_props"
#import "modal_frame_widget"
#import "title_bar_props"
#import "title_bar_widget"
#import "tree"
#import "kryon/tree"
#import, file "../../src/apps/practice_ui_types.zi";
#import, file "../../src/apps/practice_types.zi";
#import, file "../../src/app/exercise_types.zi";
@@ -1110,6 +1111,123 @@ Settings :: () {
}
}
// Session audio stays in one modal; choices apply without leaving the practice.
SessionAudio :: () {
width := settings.view_width - Scale(32)
if width > Scale(560) {
width = Scale(560)
}
height := settings.view_height - Scale(32)
if height > Scale(680) {
height = Scale(680)
}
frame := ModalFrame(settings.session, ModalFrameProps.{
.key = KeyHash("inbe/practice/session-audio"),
.title = Locale("practice_background_music_label"),
.width = width, .height = height, .scale = settings.scale,
.title_at_start = true, .strong_title = true,
.has_right_action = true, .right_label = Locale("close_button")})
if frame.dismissed || frame.right_clicked {
Ask(PRACTICE_SETTINGS_BACK, 0)
return
}
if !frame.opened {
return
}
bounds := frame.layout.content
count := settings.music_count
if count < 0 {
count = 0
} else if count > SETTINGS_MUSIC_TRACK_MAX {
count = SETTINGS_MUSIC_TRACK_MAX
}
content_width := cast(s32)bounds.width
status_height: s32 = 0
if settings.music_show_status && settings.music_status.count > 0 {
status_height = ParagraphHeight(settings.music_status, content_width, settings.font, 0) + Scale(12)
}
attribution_height := AttributionHeight(content_width)
content_height := Scale(74 * 2 + 34 + 52 * (count + 1) + 16)
if settings.music_selection > 0 {
content_height += status_height + attribution_height + Scale(12)
if settings.music_built_in && !settings.music_installed {
content_height += Scale(56)
}
if settings.music_downloading {
content_height += Scale(28)
}
}
scrolled := Scroll(settings.session, ScrollProps.{
.key = KeyHash("inbe/practice/session-audio/scroll"),
.bounds = bounds, .content_height = content_height,
.scroll_offset = settings.scroll})
settings.scroll = scrolled.scroll_offset
if scrolled.opened {
x := cast(s32)scrolled.content.x
y := cast(s32)scrolled.content.y
MovementVolume(x, content_width, *y, true)
MovementVolume(x, content_width, *y, false)
Label(Locale("practice_background_music_label"), x, y)
y += Scale(34)
for index: cast(s32)0..count {
label := Locale("audio_music_none_option")
if index > 0 {
label = ReadPracticeMusicTrackHost(index - 1).label
}
selected := settings.music_selection == index
if Button(settings.session, ButtonProps.{
.key = KeyHash("inbe/practice/session-audio/track") + cast(u64)index,
.bounds = Bounds(x, y, content_width, Scale(44)),
.label = label, .selected = selected, .fit_content = true,
.tone = cast(ButtonTone)(ifx selected then ButtonToneAccent else ButtonToneNeutral),
.emphasis = cast(ButtonEmphasis)(ifx selected then ButtonEmphasisFilled else ButtonEmphasisSoft)}) != 0 {
Ask(PRACTICE_SETTINGS_MUSIC, index)
}
y += Scale(52)
}
if settings.music_selection > 0 {
if settings.music_built_in && !settings.music_installed {
if Button(settings.session, ButtonProps.{
.key = KeyHash("inbe/practice/session-audio/download"),
.bounds = Bounds(x, y, content_width, Scale(44)),
.label = Locale("meditation_music_download_button"),
.disabled = settings.music_downloading,
.tone = cast(ButtonTone)ButtonToneAccent,
.emphasis = cast(ButtonEmphasis)ButtonEmphasisSoft}) != 0 {
Ask(PRACTICE_SETTINGS_MUSIC_DOWNLOAD, 0)
}
y += Scale(56)
}
if status_height > 0 {
Text(settings.session, TextProps.{
.bounds = Bounds(x, y, content_width, status_height - Scale(12)),
.text = settings.music_status, .wrap = cast(TextWrap)TextWrapAuto})
y += status_height
}
if settings.music_downloading {
MusicProgress(x, y, content_width)
y += Scale(28)
}
Text(settings.session, TextProps.{
.bounds = Bounds(x, y, content_width, attribution_height),
.text = Locale("meditation_music_attribution"),
.font = SETTINGS_TEXT_12, .wrap = cast(TextWrap)TextWrapAuto})
}
unused End(settings.session)
}
unused End(settings.session)
}
PracticeSessionAudioView :: (message: PracticeMessage) -> PracticeMessage {
settings = ReadPracticeSettingsHost()
settings.action = PRACTICE_SETTINGS_NONE
settings.value = 0
SessionAudio()
WritePracticeSettingsHost(settings)
message.succeeded = true
return message
}
PracticeSettingsView :: (message: PracticeMessage) -> PracticeMessage {
settings = ReadPracticeSettingsHost()
settings.action = PRACTICE_SETTINGS_NONE
+4 -3
View File
@@ -11,13 +11,14 @@
#import "drawing_props"
#import "text_props"
#import "text_align"
#import "text_widget"
#import "kryon/Kryon"
#import "kryon/button_widget"
#import "kryon/shape_widget"
#import "kryon/text_widget"
#import "text_measure"
#import "button_props"
#import "button_widget"
#import "control_props"
#import "shape_props"
#import "shape_widget"
#import, file "../../src/apps/practice_ui_types.zi";
#import, file "../../src/apps/practice_types.zi";
+3 -5
View File
@@ -38,21 +38,19 @@
#import "locale_policy"
#import "byte_text_linux"
#import "text_buffer"
#import "kryon/layout"
#import "layout"
#import "session"
#import "box_props"
#import "box_widget"
#import "kryon/Kryon"
#import "button_props"
#import "button_widget"
#import "control_props"
#import "drawing_props"
#import "geometry"
#import "shape_props"
#import "shape_widget"
#import "text_align"
#import "text_props"
#import "text_widget"
#import "tree"
#import "kryon/tree"
c :: #system_library "c";
GetFrameTime :: () -> float32 #foreign c;
+4
View File
@@ -1,5 +1,9 @@
# Radio
## [Unreleased]
- Add a painted radio player and simplify navigation text.
## [1.0.4] - 2026-10-29
- Download on Inner Breeze 2.1.61, which runs apps in a smaller format.
-22
View File
@@ -1,22 +0,0 @@
{
"achievement_radio_minutes_1_title": "Radio · 1 menit",
"achievement_radio_minutes_1_description": "Kumpulkan 1 menit: pemutaran Radio yang terdengar, tanpa waktu bisu atau memuat.",
"achievement_radio_minutes_10_title": "Radio · 10 menit",
"achievement_radio_minutes_10_description": "Kumpulkan 10 menit: pemutaran Radio yang terdengar, tanpa waktu bisu atau memuat.",
"achievement_radio_minutes_30_title": "Radio · 30 menit",
"achievement_radio_minutes_30_description": "Kumpulkan 30 menit: pemutaran Radio yang terdengar, tanpa waktu bisu atau memuat.",
"achievement_radio_minutes_60_title": "Radio · 60 menit",
"achievement_radio_minutes_60_description": "Kumpulkan 60 menit: pemutaran Radio yang terdengar, tanpa waktu bisu atau memuat.",
"achievement_radio_minutes_120_title": "Radio · 120 menit",
"achievement_radio_minutes_120_description": "Kumpulkan 120 menit: pemutaran Radio yang terdengar, tanpa waktu bisu atau memuat.",
"achievement_radio_minutes_300_title": "Radio · 300 menit",
"achievement_radio_minutes_300_description": "Kumpulkan 300 menit: pemutaran Radio yang terdengar, tanpa waktu bisu atau memuat.",
"achievement_radio_days_3_title": "Radio · 3 hari",
"achievement_radio_days_3_description": "Lakukan ini pada 3 tanggal berbeda: pemutaran Radio yang terdengar setidaknya satu menit pada hari itu, tanpa waktu bisu atau memuat.",
"achievement_radio_days_7_title": "Radio · 7 hari",
"achievement_radio_days_7_description": "Lakukan ini pada 7 tanggal berbeda: pemutaran Radio yang terdengar setidaknya satu menit pada hari itu, tanpa waktu bisu atau memuat.",
"achievement_radio_days_30_title": "Radio · 30 hari",
"achievement_radio_days_30_description": "Lakukan ini pada 30 tanggal berbeda: pemutaran Radio yang terdengar setidaknya satu menit pada hari itu, tanpa waktu bisu atau memuat.",
"achievement_radio_stations_2_title": "Radio · 2 stasiun",
"achievement_radio_stations_2_description": "Dengarkan masing-masing dari 2 stasiun berbeda dengan suara selama setidaknya satu menit."
}
-22
View File
@@ -1,22 +0,0 @@
{
"achievement_radio_minutes_1_title": "Radio · 1 minuti",
"achievement_radio_minutes_1_description": "Accumula 1 minuti: riproduzione udibile della Radio, esclusi silenzi e caricamento.",
"achievement_radio_minutes_10_title": "Radio · 10 minuti",
"achievement_radio_minutes_10_description": "Accumula 10 minuti: riproduzione udibile della Radio, esclusi silenzi e caricamento.",
"achievement_radio_minutes_30_title": "Radio · 30 minuti",
"achievement_radio_minutes_30_description": "Accumula 30 minuti: riproduzione udibile della Radio, esclusi silenzi e caricamento.",
"achievement_radio_minutes_60_title": "Radio · 60 minuti",
"achievement_radio_minutes_60_description": "Accumula 60 minuti: riproduzione udibile della Radio, esclusi silenzi e caricamento.",
"achievement_radio_minutes_120_title": "Radio · 120 minuti",
"achievement_radio_minutes_120_description": "Accumula 120 minuti: riproduzione udibile della Radio, esclusi silenzi e caricamento.",
"achievement_radio_minutes_300_title": "Radio · 300 minuti",
"achievement_radio_minutes_300_description": "Accumula 300 minuti: riproduzione udibile della Radio, esclusi silenzi e caricamento.",
"achievement_radio_days_3_title": "Radio · 3 giorni",
"achievement_radio_days_3_description": "Fallo in 3 date distinte: almeno un minuto di Radio udibile quel giorno, esclusi silenzi e caricamento.",
"achievement_radio_days_7_title": "Radio · 7 giorni",
"achievement_radio_days_7_description": "Fallo in 7 date distinte: almeno un minuto di Radio udibile quel giorno, esclusi silenzi e caricamento.",
"achievement_radio_days_30_title": "Radio · 30 giorni",
"achievement_radio_days_30_description": "Fallo in 30 date distinte: almeno un minuto di Radio udibile quel giorno, esclusi silenzi e caricamento.",
"achievement_radio_stations_2_title": "Radio · 2 stazioni",
"achievement_radio_stations_2_description": "Ascolta in modo udibile ciascuna di 2 stazioni distinte per almeno un minuto."
}
+14 -13
View File
@@ -5,13 +5,16 @@
#import "text"
#import "vec"
#import "text_props"
#import "text_widget"
#import "image_props"
#import "kryon/image_widget"
#import "kryon/Kryon"
#import "kryon/button_widget"
#import "kryon/scroll_widget"
#import "kryon/text_widget"
#import "button_props"
#import "button_widget"
#import "control_props"
#import "scroll_props"
#import "scroll_widget"
#import "tree"
#import "kryon/tree"
#import "apps/node_types"
#import, file "../../src/apps/module_types.zi";
#import, file "stations.zi";
@@ -29,6 +32,7 @@ AudioStateHost :: () -> s32 #foreign host_api;
AudioVolumeHost :: (percent: s32) -> bool #foreign host_api;
using TextWrap;
using ImageFit;
using ButtonTone;
using ButtonEmphasis;
@@ -81,17 +85,17 @@ RadioView :: (message: AppMessage) -> AppMessage {
viewport := Rectangle.{cast(float32)x, cast(float32)y, cast(float32)width,
cast(float32)(frame.height - frame.bottom - y)}
scroll := Scroll(frame.session, ScrollProps.{.key = 26000, .bounds = viewport,
.content_height = cast(s32)(620.0 * frame.scale), .scroll_offset = scroll_offset,
.content_height = cast(s32)(760.0 * frame.scale), .scroll_offset = scroll_offset,
.scale = frame.scale})
scroll_offset = scroll.scroll_offset
if !scroll.opened { message.succeeded = true; return message }
defer { unused End(frame.session) }
bounds := Rectangle.{scroll.content.x, scroll.content.y, scroll.content.width, cast(float32)step}
Text(frame.session, TextProps.{.bounds = bounds, .text = "Radio", .font = frame.font})
bounds.y += cast(float32)step
bounds.height = cast(float32)(28.0 * frame.scale)
Text(frame.session, TextProps.{.bounds = bounds, .text = AppLocaleHost("radio_station"), .font = frame.font})
bounds.y += bounds.height
bounds.height = cast(float32)(240.0 * frame.scale)
Image(frame.session, ImageProps.{.key = 26001, .bounds = bounds,
.asset_path = "assets/radio/player.avif", .alt_text = "Radio",
.fit = cast(ImageFit)ImageFitContain, .smooth = true})
bounds.y += bounds.height + cast(float32)(12.0 * frame.scale)
bounds.height = cast(float32)(48.0 * frame.scale)
state := AudioStateHost()
for index: cast(s32)0..RADIO_STATION_COUNT - 1 {
@@ -160,9 +164,6 @@ RadioView :: (message: AppMessage) -> AppMessage {
unused SaveAppRecordHost("volume", BuilderFinish(saved))
}
bounds.y += cast(float32)step
bounds.height = cast(float32)(80.0 * frame.scale)
Text(frame.session, TextProps.{.bounds = bounds, .text = AppLocaleHost("radio_hint"),
.font = frame.font, .wrap = cast(TextWrap)TextWrapAuto})
message.succeeded = true
return message
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 111 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

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

After

Width:  |  Height:  |  Size: 201 KiB

@@ -0,0 +1,90 @@
[
"astral_text_foundation_01",
"astral_text_foundation_02",
"astral_text_foundation_03",
"astral_text_foundation_04",
"astral_text_foundation_05",
"astral_text_foundation_06",
"astral_text_foundation_07",
"astral_text_foundation_08",
"astral_text_foundation_09",
"astral_text_foundation_10",
"astral_text_current_01",
"astral_text_current_02",
"astral_text_current_03",
"astral_text_current_04",
"astral_text_current_05",
"astral_text_current_06",
"astral_text_current_07",
"astral_text_current_08",
"astral_text_current_09",
"astral_text_current_10",
"astral_text_current_11",
"astral_text_current_12",
"astral_text_current_13",
"astral_text_elevator_01",
"astral_text_elevator_02",
"astral_text_elevator_03",
"astral_text_elevator_04",
"astral_text_elevator_05",
"astral_text_elevator_06",
"astral_text_elevator_07",
"astral_text_elevator_08",
"astral_text_elevator_09",
"astral_text_elevator_10",
"astral_text_elevator_11",
"astral_text_elevator_12",
"astral_text_elevator_13",
"astral_text_elevator_14",
"astral_text_elevator_15",
"astral_text_spin_01",
"astral_text_spin_02",
"astral_text_spin_03",
"astral_text_spin_04",
"astral_text_spin_05",
"astral_text_spin_06",
"astral_text_spin_07",
"astral_text_spin_08",
"astral_text_spin_09",
"astral_text_spin_10",
"astral_text_spin_11",
"astral_text_spin_12",
"astral_text_spin_13",
"astral_text_spin_14",
"astral_text_spin_15",
"astral_text_rope_01",
"astral_text_rope_02",
"astral_text_rope_03",
"astral_text_rope_04",
"astral_text_rope_05",
"astral_text_rope_06",
"astral_text_rope_07",
"astral_text_rope_08",
"astral_text_rope_09",
"astral_text_rope_10",
"astral_text_rope_11",
"astral_text_rope_12",
"astral_text_rope_13",
"astral_text_rope_14",
"astral_text_rope_15",
"astral_text_rope_16",
"astral_text_rope_17",
"astral_text_rope_18",
"astral_text_rope_19",
"astral_text_rope_20",
"astral_text_roll_out_01",
"astral_text_roll_out_02",
"astral_text_roll_out_03",
"astral_text_roll_out_04",
"astral_text_roll_out_05",
"astral_text_roll_out_06",
"astral_text_roll_out_07",
"astral_text_roll_out_08",
"astral_text_roll_out_09",
"astral_text_roll_out_10",
"astral_text_roll_out_11",
"astral_text_roll_out_12",
"astral_text_roll_out_13",
"astral_text_roll_out_14",
"astral_text_roll_out_15"
]
File diff suppressed because it is too large. Load diff
@@ -0,0 +1,331 @@
{
"model": "google/gemini-3.8-flash-tts",
"voice": "Leda",
"response_format": "pcm",
"pcm_sample_rate": 24000,
"sample_rate": 16000,
"vorbis_bitrate": "16k",
"transcriber": "google/gemini-2.5-flash",
"locale_transcribers": {
"ja": "google/gemini-3.8-flash",
"ko": "google/gemini-3.8-flash",
"zh": "google/gemini-3.8-flash"
},
"locale_transcription_reasoning": {
"ja": {
"effort": "minimal"
},
"ko": {
"effort": "minimal"
},
"zh": {
"effort": "minimal"
}
},
"locale_transcription_max_tokens": {
"ja": 1536,
"ko": 1536,
"zh": 1536
},
"minimum_match": 0.92,
"documentation": "https://openrouter.ai/docs/guides/overview/multimodal/tts",
"instructions": "Speak softly and slowly, like a calm, caring guide at bedtime, in a natural, airy voice with low energy and no bright emphasis. Leave relaxed pauses at commas and between sentences. Read the supplied text exactly in its language. Do not add music or extra words.",
"keys_file": "design/astral-projection/bruce-narration-keys.json",
"preserved_keys": [
"astral_text_1",
"astral_text_2",
"astral_text_3",
"astral_text_4",
"astral_text_5",
"astral_text_6",
"astral_text_7",
"astral_text_8",
"astral_text_9",
"astral_text_10",
"astral_text_11",
"astral_text_12",
"astral_text_13",
"astral_text_14",
"astral_text_15",
"astral_text_16",
"astral_text_17",
"astral_text_18",
"astral_text_19",
"astral_text_20"
],
"maximum_clip_seconds": 60,
"maximum_clip_seconds_by_key": {
"astral_text_foundation_01": 45,
"astral_text_foundation_02": 40,
"astral_text_foundation_03": 35,
"astral_text_foundation_04": 40,
"astral_text_foundation_05": 35,
"astral_text_foundation_06": 40,
"astral_text_foundation_07": 40,
"astral_text_foundation_08": 40,
"astral_text_foundation_09": 40,
"astral_text_foundation_10": 40,
"astral_text_current_01": 50,
"astral_text_current_02": 45,
"astral_text_current_03": 40,
"astral_text_current_04": 45,
"astral_text_current_05": 40,
"astral_text_current_06": 45,
"astral_text_current_07": 40,
"astral_text_current_08": 45,
"astral_text_current_09": 40,
"astral_text_current_10": 45,
"astral_text_current_11": 40,
"astral_text_current_12": 45,
"astral_text_current_13": 35,
"astral_text_elevator_01": 45,
"astral_text_elevator_02": 45,
"astral_text_elevator_03": 45,
"astral_text_elevator_04": 45,
"astral_text_elevator_05": 45,
"astral_text_elevator_06": 45,
"astral_text_elevator_07": 45,
"astral_text_elevator_08": 45,
"astral_text_elevator_09": 45,
"astral_text_elevator_10": 45,
"astral_text_elevator_11": 45,
"astral_text_elevator_12": 45,
"astral_text_elevator_13": 45,
"astral_text_elevator_14": 45,
"astral_text_elevator_15": 45,
"astral_text_spin_01": 45,
"astral_text_spin_02": 45,
"astral_text_spin_03": 45,
"astral_text_spin_04": 45,
"astral_text_spin_05": 45,
"astral_text_spin_06": 45,
"astral_text_spin_07": 45,
"astral_text_spin_08": 45,
"astral_text_spin_09": 45,
"astral_text_spin_10": 45,
"astral_text_spin_11": 45,
"astral_text_spin_12": 45,
"astral_text_spin_13": 45,
"astral_text_spin_14": 45,
"astral_text_spin_15": 45,
"astral_text_rope_01": 50,
"astral_text_rope_02": 50,
"astral_text_rope_03": 50,
"astral_text_rope_04": 50,
"astral_text_rope_05": 50,
"astral_text_rope_06": 50,
"astral_text_rope_07": 50,
"astral_text_rope_08": 50,
"astral_text_rope_09": 50,
"astral_text_rope_10": 50,
"astral_text_rope_11": 50,
"astral_text_rope_12": 50,
"astral_text_rope_13": 50,
"astral_text_rope_14": 50,
"astral_text_rope_15": 50,
"astral_text_rope_16": 50,
"astral_text_rope_17": 50,
"astral_text_rope_18": 50,
"astral_text_rope_19": 50,
"astral_text_rope_20": 50,
"astral_text_roll_out_01": 50,
"astral_text_roll_out_02": 50,
"astral_text_roll_out_03": 50,
"astral_text_roll_out_04": 50,
"astral_text_roll_out_05": 50,
"astral_text_roll_out_06": 50,
"astral_text_roll_out_07": 50,
"astral_text_roll_out_08": 50,
"astral_text_roll_out_09": 50,
"astral_text_roll_out_10": 50,
"astral_text_roll_out_11": 50,
"astral_text_roll_out_12": 50,
"astral_text_roll_out_13": 50,
"astral_text_roll_out_14": 50,
"astral_text_roll_out_15": 50
},
"ming": "design/narration/ming-female.json",
"quiet_after_seconds_by_key": {
"astral_text_foundation_01": 75,
"astral_text_foundation_02": 80,
"astral_text_foundation_03": 85,
"astral_text_foundation_04": 80,
"astral_text_foundation_05": 85,
"astral_text_foundation_06": 80,
"astral_text_foundation_07": 80,
"astral_text_foundation_08": 80,
"astral_text_foundation_09": 80,
"astral_text_foundation_10": 80,
"astral_text_current_01": 70,
"astral_text_current_02": 75,
"astral_text_current_03": 80,
"astral_text_current_04": 75,
"astral_text_current_05": 80,
"astral_text_current_06": 75,
"astral_text_current_07": 80,
"astral_text_current_08": 75,
"astral_text_current_09": 80,
"astral_text_current_10": 75,
"astral_text_current_11": 80,
"astral_text_current_12": 75,
"astral_text_current_13": 25,
"astral_text_elevator_01": 75,
"astral_text_elevator_02": 75,
"astral_text_elevator_03": 75,
"astral_text_elevator_04": 75,
"astral_text_elevator_05": 75,
"astral_text_elevator_06": 75,
"astral_text_elevator_07": 75,
"astral_text_elevator_08": 75,
"astral_text_elevator_09": 75,
"astral_text_elevator_10": 75,
"astral_text_elevator_11": 75,
"astral_text_elevator_12": 75,
"astral_text_elevator_13": 75,
"astral_text_elevator_14": 75,
"astral_text_elevator_15": 75,
"astral_text_spin_01": 75,
"astral_text_spin_02": 75,
"astral_text_spin_03": 75,
"astral_text_spin_04": 75,
"astral_text_spin_05": 75,
"astral_text_spin_06": 75,
"astral_text_spin_07": 75,
"astral_text_spin_08": 75,
"astral_text_spin_09": 75,
"astral_text_spin_10": 75,
"astral_text_spin_11": 75,
"astral_text_spin_12": 75,
"astral_text_spin_13": 75,
"astral_text_spin_14": 75,
"astral_text_spin_15": 75,
"astral_text_rope_01": 70,
"astral_text_rope_02": 70,
"astral_text_rope_03": 70,
"astral_text_rope_04": 70,
"astral_text_rope_05": 70,
"astral_text_rope_06": 70,
"astral_text_rope_07": 70,
"astral_text_rope_08": 70,
"astral_text_rope_09": 70,
"astral_text_rope_10": 70,
"astral_text_rope_11": 70,
"astral_text_rope_12": 70,
"astral_text_rope_13": 70,
"astral_text_rope_14": 70,
"astral_text_rope_15": 70,
"astral_text_rope_16": 70,
"astral_text_rope_17": 70,
"astral_text_rope_18": 70,
"astral_text_rope_19": 70,
"astral_text_rope_20": 70,
"astral_text_roll_out_01": 70,
"astral_text_roll_out_02": 70,
"astral_text_roll_out_03": 70,
"astral_text_roll_out_04": 70,
"astral_text_roll_out_05": 70,
"astral_text_roll_out_06": 70,
"astral_text_roll_out_07": 70,
"astral_text_roll_out_08": 70,
"astral_text_roll_out_09": 70,
"astral_text_roll_out_10": 70,
"astral_text_roll_out_11": 70,
"astral_text_roll_out_12": 70,
"astral_text_roll_out_13": 70,
"astral_text_roll_out_14": 70,
"astral_text_roll_out_15": 70
},
"cue_interval_seconds_by_key": {
"astral_text_foundation_01": 120,
"astral_text_foundation_02": 120,
"astral_text_foundation_03": 120,
"astral_text_foundation_04": 120,
"astral_text_foundation_05": 120,
"astral_text_foundation_06": 120,
"astral_text_foundation_07": 120,
"astral_text_foundation_08": 120,
"astral_text_foundation_09": 120,
"astral_text_foundation_10": 120,
"astral_text_current_01": 120,
"astral_text_current_02": 120,
"astral_text_current_03": 120,
"astral_text_current_04": 120,
"astral_text_current_05": 120,
"astral_text_current_06": 120,
"astral_text_current_07": 120,
"astral_text_current_08": 120,
"astral_text_current_09": 120,
"astral_text_current_10": 120,
"astral_text_current_11": 120,
"astral_text_current_12": 120,
"astral_text_current_13": 60,
"astral_text_elevator_01": 120,
"astral_text_elevator_02": 120,
"astral_text_elevator_03": 120,
"astral_text_elevator_04": 120,
"astral_text_elevator_05": 120,
"astral_text_elevator_06": 120,
"astral_text_elevator_07": 120,
"astral_text_elevator_08": 120,
"astral_text_elevator_09": 120,
"astral_text_elevator_10": 120,
"astral_text_elevator_11": 120,
"astral_text_elevator_12": 120,
"astral_text_elevator_13": 120,
"astral_text_elevator_14": 120,
"astral_text_elevator_15": 120,
"astral_text_spin_01": 120,
"astral_text_spin_02": 120,
"astral_text_spin_03": 120,
"astral_text_spin_04": 120,
"astral_text_spin_05": 120,
"astral_text_spin_06": 120,
"astral_text_spin_07": 120,
"astral_text_spin_08": 120,
"astral_text_spin_09": 120,
"astral_text_spin_10": 120,
"astral_text_spin_11": 120,
"astral_text_spin_12": 120,
"astral_text_spin_13": 120,
"astral_text_spin_14": 120,
"astral_text_spin_15": 120,
"astral_text_rope_01": 120,
"astral_text_rope_02": 120,
"astral_text_rope_03": 120,
"astral_text_rope_04": 120,
"astral_text_rope_05": 120,
"astral_text_rope_06": 120,
"astral_text_rope_07": 120,
"astral_text_rope_08": 120,
"astral_text_rope_09": 120,
"astral_text_rope_10": 120,
"astral_text_rope_11": 120,
"astral_text_rope_12": 120,
"astral_text_rope_13": 120,
"astral_text_rope_14": 120,
"astral_text_rope_15": 120,
"astral_text_rope_16": 120,
"astral_text_rope_17": 120,
"astral_text_rope_18": 120,
"astral_text_rope_19": 120,
"astral_text_rope_20": 120,
"astral_text_roll_out_01": 120,
"astral_text_roll_out_02": 120,
"astral_text_roll_out_03": 120,
"astral_text_roll_out_04": 120,
"astral_text_roll_out_05": 120,
"astral_text_roll_out_06": 120,
"astral_text_roll_out_07": 120,
"astral_text_roll_out_08": 120,
"astral_text_roll_out_09": 120,
"astral_text_roll_out_10": 120,
"astral_text_roll_out_11": 120,
"astral_text_roll_out_12": 120,
"astral_text_roll_out_13": 120,
"astral_text_roll_out_14": 120,
"astral_text_roll_out_15": 120
},
"f5_russian": "design/narration/f5-russian.json",
"chatterbox_czech": "design/narration/chatterbox-czech.json",
"chatterbox-portuguese": "design/narration/chatterbox-portuguese.json"
}
@@ -0,0 +1,35 @@
# Astral practice asset interface
The app reads `assets/practices/astral_projection/catalogue.json`:
`{"schema":1,"practices":[{"id":"bruce_foundation_touch","duration":1200,"title_key":"astral_practice_foundation_title","description_key":"astral_practice_foundation_description","guide_key":"astral_practice_foundation_guide"}, ...]}`.
Six IDs in draft order: `bruce_foundation_touch`, `bruce_full_body_current`,
`bruce_elevator_trance`, `bruce_spin_loosening`, `bruce_rope_exit`,
`bruce_roll_out_exit`. Durations: 1200, 1500, 1800, 1800, 2400, 1800 seconds.
Metadata key middles: foundation, current, elevator, spin, rope, roll_out.
`sessions/{id}.json` uses the existing schema 1 session format:
`{"schema":1,"duration":1200,"cues":[{"second":0,"key":"astral_text_foundation_01"}, ...]}`.
Globally unique new cue keys use `astral_text_{middle}_{01..20}` and stay below
64 ASCII bytes. Cue starts include spoken time and deliberate quiet time.
The finite session ends at its duration, following the return cue.
All ten `text/{locale}.txt` files retain the established `[key]`, body,
`---` format. They contain all 18 translated title/description/guide entries
and 88 new translated cues. Guides use readable paragraphs for prerequisites,
setup, procedure, return and recall. The 88 new cues keep the existing paths
at `voice/{locale}/{key}.ogg`: 880 clips across ten locales. Female narration
uses local Ming for `en es de fr ja ko zh`, the selected Russian F5 model for
`ru`, the selected Czech Chatterbox model for `cs`, and
`FearL0rd/Chatterbox-TTS-Portuguese` for `pt`. Indonesian and Italian are
removed from the supported catalogues and packs.
The old `session.json`, old text keys and 20 English clips remain available.
The app persists the selected ID in `astral_projection_exercise`, resolves
names, descriptions, guide and cues from the same text catalogue, and uses
standard narration, locale, voice, music, history and result flows. Start and
How to open the selection/guide page before a session starts. No new host API.
Precommit gate: complete localized media and recordings, full native build,
behavior/content/API/locale/law local tests and private-display GUI coverage of
all six selections at desktop and portrait sizes. No release or version bump.
@@ -0,0 +1,802 @@
# Six-practice implementation and local validation
Physical Alpha app checkpoint (2026-11-10): all 44 free Tai Chi items preserve
canonical motion, timing and markers. All 20 voice profiles contain exactly 184
free Opus cues, matching source bytes; complete Ogg pages, checksums, end markers
and positive durations passed. All 3,680 actual staged clips decode through
FFmpeg. The retained preview is 26,847,373 bytes (26,826,395 bytes of audio).
The ignored receipt is `backup/tai-chi-preview/validation.json`; this measures
preview staging, not the complete app package or executable.
Fresh Alpha source tests passed translated locales, all 823 used locale keys and
placeholders, settings storage/import keys and the clean Text/Button APIs. The
broader locale inventory gate also passes after the Radio owner removed the two
obsolete keys from all ten locales and the stale French exception. The successful
Alpha result was independently read from command `b31864503f3a34c5d1493b7e859379c56bcb`.
About source has the inline app/version,
Core first, no package heading and no appearance style chooser. GUI verification
is still pending. Radio's test now uses the app build's scoped package exports.
The existing preview and package-asset tests now enforce full 20-voice coverage,
exact free motion/audio ownership and generated AVIF launcher/Back assets.
Complete native build, laws, fresh compiled package inventory/size and private GUI
verification await the stable compiler handoff. No feature commit, push or install.
App code and all ten supported text catalogues are implemented. Earlier native
and private-display local test results are recorded below. Everything remains
uncommitted; complete narration and final native/package/upstream pin integration
are pending. Current scope is local Ming for `en es de fr ja ko
zh`, `Misha24-10/F5-TTS_RUSSIAN` for `ru`, and
`Thomcles/Chatterbox-TTS-Czech` for `cs`, and
`FearL0rd/Chatterbox-TTS-Portuguese` for `pt`. Portuguese was restored from
verified recovery copies after the owner's updated request; only Indonesian
and Italian remain removed.
The complete female inventory is 4,960 clips, including 880 new Bruce clips.
Current narration checkpoint (2026-11-09): Portuguese Bruce is 88/88 exact
requested-profile current. Full 48 kHz Opus and paired 16 kHz decodes are finite,
with zero full-scale samples. The original batch ended with code 143 and its
single resume ended with code 0; neither may be replayed. Verification receipts
are `bruce-88-native48-validation.json`, `bruce-88-16k-validation.json` and
`bruce-resume-exit-and-locks.json` under the Portuguese pilot directory below.
The Portuguese workout batch finished with code 1 and 20/29 requested-profile
current clips. Its 20 retained clips pass full finite 48 kHz and 16 kHz decode,
duration and zero-full-scale-sample validation. Nine keys remained pending at
that original checkpoint; later progress is recorded below. The practice is incomplete. All 54 prebatch workout rows/audio and all 98 astral
rows/audio were preserved; five output locks were free and released. The final
proof is `workout-normal-finish-validation.json` in that same pilot directory.
The generator matches its launch hash. All 29 config/text semantics match the
prebatch snapshot; exact-launch config/text byte preservation is unknown because
those hashes were not captured. The media task accepted the source/model slot
for the generic decoded-headroom correction; no new generation is running here.
The later Portuguese six-context run ended with code 1: rotation and switch
passed the unchanged gates, bringing workout to 22/29 requested-profile current.
Counts 3/2/1, go, crunches, step-ups and squats remain pending. All 74 prior
receipt rows/audio and context artifacts were preserved; all 40 actual QA
children were waited successfully and the output lock was independently free.
The final classification is `pt-six-context-run/terminal-verification.json` in
the Portuguese pilot directory. The separate immutable nine-rule PT policy
successor preserves all six original rules and source/profile/quality gates.
Its five focused tests plus the existing 51 retry tests pass (56 total;
`12aad5ce1ec32ead50d37db7c478fd3ac3e1`). No successor generation has run.
Model-free short-cue diagnosis (`5ad5a1ec01782d56a81b27e79ab59b8c3624`) confirms
that the parent ASR emits numeric digits for spelled Portuguese counts. A scoped
Portuguese count-comparison and migration contract is prepared and root accepted;
it preserves default normalization, raw QA, canonical source and all quality gates.
Implementation waits for the active source-pinned narration run to finish. The
15 accepted context proofs require 17 fresh ASR results under successor seals;
count 1/3 have retained parent PCM salvage candidates. This migration and its
4,947-row frozen-default audit have not run. No further synthesis or QA ran here.
The Japanese Tai Chi cached repair for `tai_chi_text_b6eed6cf` is integrated and
root accepted. Independent canonical-path validation passes ordinary current,
complete 16/48 kHz decode with zero full-scale samples, exact staged receipt
bytes and preservation of all 3,069 other clips/rows and outer receipt fields
(`8524824393fa6032269ca9d8362d14456a4e`). The original promotion's final validator
used the default guide path and failed after both successful writes; a separate
read-only followup proved the installed bytes without replaying either write.
Both failed command outcomes and recovery originals remain retained. Evidence is
under `ming-taichi-en-de-ja-01/integrate-ja-b6eed6cf`. Complete narration, final
native/package integration, actual downloads, installation and desktop launch
remain pending; nothing has been committed, pushed, uploaded or installed.
The fresh stable native build and private-display chooser tests pass for all six
exercises at desktop and portrait sizes, including guides, selected cues,
countdowns, pause/resume, restart, switching, finite completion and history.
The fresh native download-flow local test also passes: practice tabs, real sizes
and prices, owned/shipped state, supported narration languages and English/Russian
tab swipes. It used a private display and disposable profile; it does not verify
the installed application's actual downloads.
The exact pack uploader passes 22 local tests, including selected-only signing,
transport and verification, with the shipped signing pin checked first. Nothing
has been uploaded or installed. Final actual download, installed app and desktop
launch verification remain pending after complete narration and integration.
The female-only Portuguese Sun text variant passed actual synthesis for both
changed cues. All 12 registered breathing contexts were refreshed from cached
PCM and validate under the current helper/policy. The complete Portuguese Sun
set is source-compatible, with only 5/20 requested-local clips at that checkpoint.
The incumbent cobra and intro_2 float defects still require replacement through
local generation. English Tai Chi remains 305/307 strict requested-Ming current;
the missing-only resume plan separates the fresh context case cd427ea0 from the
ordinary failed draw ff433c2b. These retries remain pending in the serialized
voice work.
The Russian guide batch exited with 31/32 accepted recordings. Its sole failed
line, profile_guide_more, now uses a voice-only Russian source override while
shared UI text stays unchanged. The other 31 recordings remain strict current,
all nine other locale inputs and model/helper identities are unchanged
(`305a1cae506a97c73f0985566cc578d91b62`). The narration unit suite passes 73 tests
plus the retired-locale assertions (`85a15cab20a7054d9ee580242117969b016c`).
The guide was released to the voice task for the corrected cue's actual synthesis,
full decode and full Russian guide verification, then Czech generation.
The narration coverage test now includes all ten locales and passes
(`15d548558b08624acc7ca1228232e6727f95`). It checks source-compatible Sun narration,
not complete requested-local provenance. All 4,960 requested-local recordings
and final native/package/private-display integration remain required before any
feature commit or push. Detailed current receipts are under ignored
backup/narration/pilots/pt-all-practices-01 and ru-guide-more-wording-01.
The following diagnostic history includes earlier source and policy identities;
its pending statements are superseded by the checkpoint above.
The Czech/Russian onset diagnostic confirms that retaining PCM from sample zero
produces the exact intended cues (`38b1741f22f8f72db4e09f47a8f3a573a3bc`). Czech
candidate 2 already contains strong signal before Whisper's reported first-word
start, so trimming at that timestamp would remove early audio. The local voice
task owns the narrowly registered alignment fix and Portuguese parent change.
Those recipe changes require another cached proof refresh; the earlier six-cue
results below remain historical evidence until that refresh finishes.
The generic CLI now permits non-Ming `--cached-only` only with both explicit
context profiles. Missing or incomplete context options still fail before model
construction. The six provider/CLI fixture tests pass
(`1213b8683477d9d25ca7e41963753880ed90`). An actual accepted English Tai Chi cue
passes receipt validation before and after this isolated change
(`ae15cf60094bded214f239488ef6e9135599`,
`79351b463ac8d47cf82a0475f13007d56190`); all ordinary Ming source/profile hashes,
synthesis, cache and verification identities are unchanged. The context helper
rejects missing or corrupt local cache data before synthesis, with tested adapter
call counters. The final frozen candidate passes all 71 narration fixture tests
and the retired-locale gate (`60ea63038f54a3b0c4a560ad5af99ff6d1f0`). Actual cached
context refresh remains in the serialized voice handoff.
All six Spanish, French and Chinese short-context breath cues now pass actual
generation and fresh receipt validation under the preceding combined policy.
Spanish/French cached revalidation passed (`4ea35761a615ddd1b2840adf0beea8f39a96`),
Chinese cached inhale passed (`25bb4ebb69a28e211c22c7d63d9e7563c245`), and Chinese
exhale passed using the existing canonical plank parent
(`d0a02b1cdf43ad84890285042e8843b9f7c0`). Combined offline validation passes all six
(`a4ba7c058b60a4f0bf6a8a8650e73329a8fb`). Independent float decoding confirms
finite samples, peaks below 1, complete ASR sample coverage, and matching clip
and public parent hashes. Each transcript matches exactly; durations range from
0.602375 to 0.8485625 seconds. Actual short-clip speaker scores remain separate
from the qualifying parent scores. Only these two Chinese context crops use the
pinned Turbo verifier; ordinary routes and the original synthesis profile remain
unchanged. The serialized Sun receipt writer has been handed to the local voice
task for Portuguese/Czech exhale and both Russian context cues.
The final combined narration target passes 66 fixture tests and the retired
locale gate (`3480d813e6d09616e34c65cc0621d1d449c7`). Portuguese/Czech inhale
cached refresh and fresh receipt validation also pass under this exact policy
(`07db4c5c530e63e572f8ecf4c6fba0a30021`). Russian's ordinary short cues each
exhausted four attempts below its unchanged speaker threshold; its longest Sun
cue passed, including independent receipt validation
(`9b0140ee3971202ab6e0741d42b0bd5c3bcc`). Production narration and final native
integration remain incomplete. No feature commit, push, release or installation
has occurred.
The following diagnostic history records the failures and corrections preceding
that final policy validation.
The initial six actual Ming short-context pilots exited with three accepted
recordings (Spanish in/out and French in), and three rejected cues
(`ea5b559637cc6a721ebb93256810081ba7a4`). Spanish exhale demonstrates the bounded
retry fix on real audio: the first crop failed ASR and the next passed. French
exhale exposed a timestamp-token split of `penchez-vous`; the helper now joins
only actual internal hyphen/apostrophe connectors for full-text coherence while
preserving raw chunks and all crop checks.
Both rejected Chinese inhale crops are recognized exactly as `吸气` by pinned
Turbo (`700ea3c0d842318125d6843e4ae0f3689228`), with encoded-packet hashes matching
the original candidates. No new speech was synthesized for this diagnostic.
The implementation now supports an explicit Chinese short-context crop verifier
without changing the public Ming profile or ordinary routes. Chinese exhale's
parent switches to the existing canonical plank instruction. The final CLI proof
refresh above replaces earlier proof identities; old context recordings are not
treated as current under a changed policy.
Generic generation/current tests reject wrong model, revision, artifacts, adapter,
audio, locale, sample count, duration, truncation, words and verification identity;
invalid new ASR metadata preserves the previously accepted clip. These eight
context tests plus eight Ming-verifier and six diagnostic tests pass
(`78b6a588156302d015e7a5d4f2c1a14d8a00`). Independent Czech foundation and guide
receipt checks pass (`b49edea784228bcf87462fd2fe65954157db`). Complete production
voices, remaining provider context pilots and final native integration remain required.
Replacement foundation pilots in all seven Ming languages passed after lossless
segmentation fixed the original German missing ending. The media task completed
cached-only revalidation with the new per-locale verifier, and an independent
generic CLI `--check` passes all seven (`216a6be54ddc188a8385570037fdb53ca954`).
Russian's actual foundation pilot also passed. Portuguese's segmented foundation
pilot passes independent current-receipt validation
(`880c07a17f9ba5fc30b2b1e72367003fa4ab`). Production narration remains unfinished;
short Czech/Portuguese cue validation remains under the separate voice task.
An independent float decode of the Russian pilot records a peak of
1.0008153915, with one sample at or above 1 among 503,444 samples. The parent
accepted this tiny codec overshoot as a recorded metric; no encoder or synthesis
change was made for it.
The Japanese Sun Salutation pilot's four saved clips were all correctly heard
by pinned Whisper Large v3 Turbo. The independent verification wrapper uses
Turbo for Japanese and Korean and Small for the other five Ming languages. Its public
verification block preserves the exact original synthesis profile and cached
PCM; `--cached-only` prevents new speech during pilot revalidation. Chinese Sun
Salutation comparison now permits only the authorized context-bound homophone
and script equivalents, preserving raw ASR and direction/number/ending checks.
Bounded attempt diagnostics retain every attempt and distinguish best from last.
The Japanese Sun pilot passes fresh actual receipt validation
(`6d1052102c37a16c5e89cccbb3287d7446ca`). The encoded Chinese Sun pilot originally
had three speaker failures and one speaker pass that Small transcribed with
another homophone, `向後賣`. The additional source-bound `向後賣`/`向后卖` spellings
are implemented under the parent's reviewed direction. Regression tests preserve
left/right, missing-ending, extra-number and unrelated sale controls
(`21f318489fdc02447456b8481c8d5e99550f`). Independent current-receipt validation now
passes the completed Chinese clip (`d97dc92128e64c97efb13cc47e2334cb9553`):
2.875 seconds, match 1, speaker cosine 0.7197458, and unchanged raw transcript
`吸氣,右腿向後賣,膝蓋落地`. No speaker threshold was relaxed.
All three completed Korean Turbo pilots now pass independent receipt-only
validation: Sun Salutation's shortest and longest cues and Bruce foundation
(`173bd31132a87e2f3ee5aaae5cf8b8de63db`). This reused the media task's completed
work without repeating synthesis or ASR. Explicit prior QA identities remain
valid only for unchanged locale/model/revision/artifact routes; Korean's earlier
Small receipts are rejected. The current generic verifier and context helper are
frozen during real Portuguese/Czech context pilots. Ming Spanish, French and
Chinese context pilots follow their serialized Sun Salutation handoff. These
short-cue proofs and production voice inventories remain required.
The actual Portuguese registered breathing cue passes the generic context
pipeline and independent offline validation (`297c986ff5a00e0378d40dc4f368dcd53cf6`).
Its 0.56-second crop transcribes exactly as `Inspire.` and retains the actual
short score 0.4953606 separately from parent score 0.6780988, which meets the
original provider's 0.65 threshold. The public parent WAV is bound to the crop and
original synthesis profile. This single real proof does not certify the other
configured short cues. The integrated narration target includes all 16 shared
adapter/context tests and passes (`54a354c5efff216c0f6cfd9d3d056c4e1ab1`).
Local adapter preflight and `build-queue -- make ming-narration-test` passed
(`735c1433fb8c49c391f5832123a1717a762f`). Seven new verifier tests also passed,
including an actual encoded-clip `current()` test that rejects wrong model,
revision, artifact hash, transcript and incomplete sample coverage
(`6ca45f4c2e6d52191fe3f0a02925fed53385`). Three diagnostic/comparison tests pass.
The media task owns actual cached pilot revalidation and production narration;
none is reported complete from these local fixture tests.
The original validation below records the earlier twelve-language scope and
HTTP 402 provider failure. The historical sections record the nine-language
native/GUI validation and local-provider work. The ten-language update below
supersedes those earlier counts.
The asset contract is in `exercise-interface.md`. Breeze owns app code, locales,
font subsets, tests, packaging and generation/certification tooling. The separate
media worker owns the practices repository and recordings.
## Implemented
- Start opens six choices before starting narration or a clock. The selected ID
persists as `astral_projection_exercise`, and How to uses its guide.
- Selected data controls duration, cue keys/text, standard narration paths,
countdown/progress, pause/resume, restart, finite completion and named history.
- Save-on-exit supplies the identity buffer required by existing details storage.
- Original packages without catalogue.json retain their open-ended session and
elapsed-time saving. Missing selected new data displays a translated error.
- The new 88-key speech inventory/receipt is separate from the preserved 20-key
legacy configuration/receipt. Packs require every verified new clip, preserve
legacy clips, and exclude source drafts.
- Per-cue speech budgets preserve deliberate quiet time; other narration retains
its default 40-second limit. Scratch stays in ignored backup/narration/tmp.
- Loading errors are translated in all twelve UI locales. Four CJK font subsets
were regenerated through the standard target for the complete new media.
## Passing local tests
Final native build and unit suites, Harmony receipt
`9d4e36be26e9b5005d27f3fd3796dee3774f`, exit 0:
```sh
build-queue -- sh -c 'test "$(readlink -f build/packages/practices)" = "/mnt/storage/Projects/waozixyz/modules/practices" && make native apps clean-text-api-check button-api-check locale-translated-test build-laws package-check && make astral-projection-test practice-narration-test'
```
This rebuilt the stable Linux executable and app bundles using local Kryon and
practices overrides. Required API, locale, law and package gates passed. Compiled
astral behavior covers selection, bounded malformed data, finite clocks, pause
and reset. Content tests cover six exact sessions, 88 unique cues, 18 metadata
entries and all twelve translations. Narration tests cover all six cue paths,
German routing with a fixture clip, speech/quiet budgets, 45-second generation,
default limits, local staging, incomplete/mismatched pack rejection and legacy
clip preservation. Fixture clips do not certify missing real narration.
The standard `make font-subsets` stage completed inside build-queue receipt
`d4ab5dee181b4a143e99e6750242e8c00d04`. Glyph coverage has zero missing characters:
Japanese 956, Korean 725 and Chinese 1,210 required codepoints. That earlier
combined command then caught a numeric cast mismatch; it was corrected before
the passing native run above.
Full real native GUI suite, receipt `3cc08f57c0e471b857218e4e45bf2ab06b82`, exit 0:
```sh
env -u DISPLAY -u WAYLAND_DISPLAY -u XAUTHORITY -u DBUS_SESSION_BUS_ADDRESS -u GDK_DISPLAY -u SESSION_MANAGER YUE_DESKTOP_RECOVERY=0 python3 -u tests/astral_projection_ui_test.py build/bin/linux/breeze-linux-x86_64
```
Verified all six at 1280x900 and 390x844 before Start: names, descriptions,
duration, persistent selection, guide and initial cue/countdown. Verified
pause/resume, cancelled exit retaining explicit pause, exit/restart, switching
to another exercise within the same app, all six finite completions and named
history across process re-entry, Save at 60 seconds, missing selected content
without legacy fallback, and original-package display plus Save. All six German
portrait selections/guides/cues also passed. Private captures and contact sheets
are in `build/astral-projection-ui-test`.
Existing movement GUI suite, receipt `71ee545d0e96e9f8b3da54fef1b87cdebd10`, exit 0:
```sh
env -u DISPLAY -u WAYLAND_DISPLAY -u XAUTHORITY -u DBUS_SESSION_BUS_ADDRESS -u GDK_DISPLAY -u SESSION_MANAGER YUE_DESKTOP_RECOVERY=0 python3 -u tests/practice_movement_ui_test.py build/bin/linux/breeze-linux-x86_64
```
Sun Salutation settings, Astral pause/resume and Workout start/pause/resume
passed. Both GUI suites use private Xvfb, private profiles and only their own
processes. The owner's running app and profile were not touched.
Also passed:
- `python3 tests/practice_narration_keys_test.py`
- `python3 tests/practice_narration_snapshot_test.py`
- `python3 tests/astral_projection_content_test.py`
- `git diff --check`
## Remaining gate and deployment state
`python3 tests/astral_projection_content_test.py --require-narration` fails with
exactly 1,056 new clips missing. First missing media path:
`voice/en/astral_text_foundation_01.ogg`. No complete new language pack is
certified or advertised. Actual new narration playback remains unverified.
After narration is available: verify receipts and every clip, rebuild packs with
local overrides, rerun strict audio/content and native integration gates, then
coordinate the complete upstream commit followed by the named practices package
update and one coherent Breeze commit. The peer Lumi task owns shared manifest/
lock alignment and unrelated dirty hunks; preserve those edits.
No feature commit, push, release, installation or deployment was performed.
Linux native behavior is validated; other platforms are not claimed validated.
## Local Ming pipeline continuation
The current generation interface and full-artifact descriptor are in
`design/narration/README.md` and `design/narration/ming-female.json`.
The existing female narration inventory is 496 cues per locale, including
the original Astral sessions, so seven Ming locales require 3,472 clips.
Existing male recordings remain available in the nine supported languages.
Retired-language files have verified recovery copies outside active resources.
Real installation fingerprint and preflight passed without loading a model or
generating audio, receipt `87da98c1d56338bb309cb03984cb4b455c8f`. The public profile
pins 84 runtime source files, 10 Ming model files, 11 Whisper files, both female
reference hashes, local adapters and runtime package versions. Absolute paths
stay in ignored `backup/narration/ming-local.json`.
Regression receipt `7087084d52ce1b0944f936a91f067fb2cec7`, exit 0:
```sh
python3 tests/ming_narration_test.py
python3 tests/astral_narration_test.py
python3 tests/practice_narration_keys_test.py
python3 tests/practice_narration_snapshot_test.py
python3 tests/astral_projection_content_test.py
git diff --check
```
The six Ming tests cover explicit language and nonzero speaker conditioning,
full request/source hashes, no model load during preflight, stale or corrupted
receipt rejection, real Opus fixture encoding, reserved quiet intervals,
transcript-tail checks and routing all 40 seconds into the long-form decoder.
These are test fixtures, not real Ming practice recordings.
Real read-only Whisper validation completed in one two-thread process,
receipt `39d74d0eeb7ba762b6e2ff300d3d6c99e2c7`, exit 0. The seven existing Jungle
calm female samples transcribed correctly, apart from Japanese punctuation and
the Chinese equivalent 樹/树 spelling. A 38.6-second concatenated existing
English sample supplied all 617,600 decoded samples and reached the distinct
final badger/magic-pot phrase after 30 seconds. Whisper compressed its repeated
tiger prefix; this establishes decoder end coverage and API compatibility,
not a perfect transcript of repeated audio. The private result is
`backup/narration/qa/asr-runtime-results.json`. No Ming model was loaded in this
test and no production recording changed.
New Bruce pilots are assigned to the existing media task. Their actual speech,
transcript, duration and voice consistency must pass before bulk generation.
There is no feature commit, push, release or installation.
## Nine-language milestone and provider integration
Native build/local-test receipt `f52b35cd3a1398ae77476b1ea7cd1272774a`, exit 0:
```sh
build-queue -- sh -c 'set -e
test "$(readlink -f build/packages/practices)" = /mnt/storage/Projects/waozixyz/modules/practices
make native apps clean-text-api-check button-api-check locale-translated-test build-laws package-check locale-zi-test astral-projection-test practice-narration-test ming-narration-test'
```
All six finite sessions, 88 cues, 18 metadata entries and nine translated
catalogues passed. Audio inventory at build time reported 790 missing files;
the two pilot files do not establish complete narration or accepted quality.
Private native GUI receipt `5be16b2aed95ca6cadfe53768c287aac396c`, exit 0:
```sh
env -u DISPLAY -u WAYLAND_DISPLAY -u XAUTHORITY -u DBUS_SESSION_BUS_ADDRESS -u GDK_DISPLAY -u SESSION_MANAGER YUE_DESKTOP_RECOVERY=0 python3 -u tests/astral_projection_ui_test.py build/bin/linux/breeze-linux-x86_64
```
Verified saved `id`, `it` and `pt` UI/narration preferences migrate to explicit
English despite a German system locale, persist across two reentries, and keep
the selected exercise and unrelated saved data. All six choices, guides,
pause/restart/switch, completion and named history passed at desktop and portrait
sizes; all six German portrait selection/guide/initial-cue paths passed.
QA receipt `9ca3cb29ce6846f3b45ead8d3abead77c9da`, exit 0, ran ten offline
tests plus actual receipt validation: complete English pilot accepted, incomplete
German pilot rejected. The German take scored 0.92958 globally at 23.065 seconds
but omitted its final sensations clause. New local clips at every duration must
match both the final 64 and 24 normalized characters at 0.85, using the same
locale spelling aliases as the unchanged full-transcript threshold. Both new
generation and receipt reuse enforce this rule. No frozen Ming/Whisper source
or public profile changed for this correction.
Shared local-provider receipt `7de6c10ff2ad2b16b6fccb1744bbd246af6b`, exit 0,
ran ten Ming and three provider-routing/resume tests. Russian and Czech use
explicit provider/private-profile flags, their own Python environments, exact
locale filters, and the shared encoded-audio, transcript-ending and speaker QA.
Wrong interpreter and unsupported locale fail before model loading. These are
fixture tests; real Russian/Czech synthesis acceptance remains pending.
Ming model and Whisper weights are copied into the reusable harness store:
`/mnt/storage/Projects/harness/models/weights/tts/ming-3.0-tts-0.5b` and
`/mnt/storage/Projects/harness/models/weights/asr/whisper-small`. Originals remain
untouched. Only ignored private paths changed; actual preflight receipt
`c6a5c95bed45815b428cbe3cebfbd90b512d`, exit 0, verified all public hashes without
loading a model or generating audio. This proves metadata consistency, not voice
quality. All 4,464 female clips, strict nine-language pack/content validation and
final integrated playback remain required before any feature commit.
## Portuguese restoration and lossless Ming requests
Portuguese UI, achievement translations, Android/store resources and existing
narration receipt rows were restored from the verified owning-repository backup.
Only `id` and `it` migrate to English. `pt` stays Portuguese for the UI and all
three saved narration overrides across reopening. Female generation explicitly
routes `pt` to `chatterbox-portuguese`; it cannot fall back to Ming or a network
provider. Direction validation rejects Portuguese left/right substitutions even
when the full transcript score exceeds 0.92.
The 512-token dense Ming cache includes both the input and decoded audio.
Read-only tokenizer inspection measured 221 input tokens for the original
German foundation cue, leaving 23.28 seconds; its rejected recording lasted
23.065 seconds. Raising the explicit 1,000-step limit cannot enlarge that cache.
The new source-preserving segmentation keeps short cues in one request and
splits long cues at natural sentence/clause/word boundaries. Exact Unicode
source spans, seed rule, original speaker embedding, language and zero added
pause are bound to profile/request/cache identity. Whole-cue ASR, both ending
comparisons, speaker similarity, quiet-time and duration limits remain unchanged.
Finite raw float WAVs survive peak rejection for diagnosis; no clipping or
automatic normalization was introduced.
All seven actual foundation plans were inspected with the pinned tokenizer
without synthesis. Minimum per-span decode headroom is 30.88–32.08 seconds;
exact spans and budgets are in ignored
`backup/narration/qa/segmentation-budget.json`. The new profile invalidates the
old pilot identities. The media worker owns the new German/Spanish/Japanese
pilot as session 70497; do not repeat it or modify the frozen Ming, segmenter,
Whisper or public profile while that job remains live.
Local verification:
- Native ten-language build, build laws, locale translation/link tests, API
gates, package checks, all six practice/content tests, narration behavior and
offline provider tests passed, command `55c2b9f25039c3a3929a05212085c72e6f6d`.
- Eight segmentation, ten Ming contract and four local routing tests passed.
- Five actual float WAV/cache/PCM fixture tests passed under the existing Ming
interpreter, command `652c18c7c778956be04ba36b702303251217`.
- New profile preflight passed without inference,
command `0a8e7879725acfff760432d8394676fc3fc6`.
- Ten-language private GUI validation passed, command
`0ecab8833dcf3324ccfbb345e8a6080c124b`: all six selections/session paths at
1280×900 and 390×844, pause/restart/switch, finite completion/history, German
guidance, Portuguese preference persistence and Indonesian/Italian fallback.
Production narration remains incomplete. No feature commit, push, release or
installation has occurred.
## Reopened integration milestone
The retry test now selects `short-context-provider-v2.json`; every assertion and the protected original policy hash remain. Local command `4c86da328624e1d3bc778eb9d3c4167e244c` passed 109 narration unit tests, all six finite sessions/88 cues/ten locales, cue budgets/pack staging, narration routing, UI API and translated-locale gates.
Fresh native command `fe901b0b93fdb30fa3e3aceece9b6404e8ad` exposed Kryon's Android surface desktop boundary failure. After the upstream specialist corrected that boundary, command `749634492aadefc1675e1bbe8853a981d792` passed native/apps/package-check/locale-zi-test and the stable Linux binary size gate. Fresh private-display GUI command `2a5538ffa5ba05ce2b620b6201d9f4e7ec01` passed all six selections before Start, guides, session cues, pause/resume/restart/switch at 1280×900 and 390×844, finite completion and named history, German portrait guidance, Portuguese preference persistence and retired-locale migration. Complete narration and final media integration remain pending.
The previous Portuguese writer `6d3ca1bea5de6cbfd5c2ed1cf7f4e7736b6a` conclusively ended 143, retaining 78 exact-profile Bruce cues. After parent source-seal verification, ordinary cache-preserving resume `8d371c6cff628cd22dd8401cb2c3c792e462` generated the missing Roll Out 06–15 and finished0, including explicit model-child exit0. Full88 exact-profile/current/source/hash and complete48k finite zero-fullscale validation passed in `c3234c894229d94a3927c622a3ece3483361`; paired complete16k validation passed in `2544dd741758feb10299cd8a1f836bc45221` (maximum peak0.954200, zero fullscale samples). All five output-root locks were free in `5c420d2fcfd5430727fd9db7b46d0a7810bd`. The sole heavy slot was handed to the existing media worker for15ASR; PT workout waits for explicit slot return and protected shared-receipt integration. No further model was started by this worker.
Ignored `backup/narration/pilots/pt-all-practices-01/reopen-batch-plan.json` records exact requested-profile current/remaining keys for all60 practice/locale batches: snapshot1011 current,3949 pending. It excludes accepted assets from fresh invocations and distinguishes ordinary retries from separately coordinated context proofs. Russian51/496, Czech75/496 and Portuguese82/496 at snapshot; Bruce is actively increasing Portuguese coverage. Root locks serialize every locale sharing a receipt. The old Ming exit code remains unknown; its broad regenerate invocation must never be replayed. The existing generator/retry interfaces already support repeated explicit key filters and preserve requested-profile current rows; no sealed-core change is required.
The test-only native audio harness now accepts an explicit astral practice, preserving TaiChi default. `make astral-voice-audio-play-test` requires actual first-cue assets for every supported locale; `ASTRAL_NARRATION_LOCALE=pt` tests the six Portuguese first cues. Local command `3c11b4c8d5587575ca70a4da11e063216830` completed all six through native decoder, PCM16 conversion, null mixer and300ms pause/resume. All produced sound, completed at the correct duration and had zero decoded unit crossings; maximum mixed peak0.622355. This proves component playback, not complete narration or final app integration. No feature commit, push, release or install has occurred.
The owner also requested latest desktop installation and launch after completion. Narration is downloaded as hashed language packs; binary installation alone cannot deliver it. The existing uploader now accepts repeatable exact `--pack` identifiers, stages/signs/transports only that selection, restricts remote permissions to selected archive members, streams full public-byte verification and preserves paid403 gating. Default and `--content` base-only behavior remain. Local command `af986d8a88b3b9368acd31ee07d704b10cb9` passed17 upload/selection/signature/transport tests plus5 content-repair tests; no actual remote action occurred. Final gates remain complete requested-model media, fresh packs, restricted immutable content availability, supported installed-app resolution, atomic desktop installation and root-owned native launch. No version or software release is requested.
## Current narration recovery
### Personal VM recovery, 2026-11-09
Latest resolved Personal results: the saved count attempt 15 completed QA and was
rejected because the extracted word lasts 0.4355 seconds, below the unchanged
0.5-second minimum. Its speaker similarity passed. This reservation has no
unused candidates. The saved Go attempt 12 passed parent transcript and speaker
gates but was rejected at the crop boundary: the next word starts at 0.48
seconds. Both outcomes are recorded; neither source nor alignment is replayed.
Go attempt 13 remains unused. All 24 source files, model files and profile pins
match inside the Personal provider namespace; no synthesis ran in that audit.
The accepted Portuguese Tai Chi recording `tai_chi_text_3d0ce619` and all four
saved ordinary Tai Chi recordings are now copied into canonical practices
locally. Fresh Personal readback is current and complete 16/48 kHz decodes
pass with zero full-scale samples. The transactions preserved other data and
the retry ledger. Eight copy-safety tests passed, including rollback,
changed-file refusal and actual Personal stage ownership. Both unique
synthetic source-route fixtures stopped before source intent on an occupied
model lock; their owned descendants are closed and no real Go attempt was
consumed. Atomic source admission is being handled by the runtime owner.
Native06 cleared the corrected compiler header generation and stopped on
removed Kryon widget import aliases. The necessary app migration uses the
current `kryon/Widgets` catalog and current loading/SVG component modules.
The complete qualified and unqualified app import inventories were reviewed.
Focused native graph validation now reaches the Entity dependency's
`achievement_toast.zi`. Its four obsolete widget imports are now migrated in
canonical Entity to `kryon/Widgets` and `kryon/svgicon`, with an Unreleased
note. The other 31 directly reachable Entity modules need no import changes.
The canonical read-only Personal namespace is verified. The next focused run
matched its source pins, then stopped at offline package resolution before
linking or compiling; app, Entity, Kryon and compiler fingerprints were unchanged.
The 120-second cache probe timed out cleanly. Its finite successor completed
cache validation in 362 seconds and exposed a forwarded locked launcher's
64-module-root limit against current Kryon's 79 roots. The current app CLI
already supports dynamic roots; this was a launcher-selection failure. The
ignored local toolchain override now selects canonical Ziran, mounted read-only
in the app-owned Alpha namespace. Namespace fixtures 16 and 17 passed with the
actual selected CLI and unchanged Entity pins. Canonical Apps host and game HUD
imports now use `kryon/Widgets`; their exact live bytes and read-only boundary
also passed fixture 17. The Apps export remains alive for native consumers.
The app Make prerequisites independently omitted the package CLI's Ziran
sources. Their inventory now covers compiler, package, runtime and standard
sources together. The real toolchain build returned zero, but its provenance
check rejected it because `cmd/zir/zir_zx_native_run.c` changed upstream during
that run. All 333 source fingerprints were checked and the owned unit is
closed. Legitimate upstream performance work continues; no checkout is frozen.
The selected current package CLI is pinned separately. Actual resolver 18
completed successfully on Alpha: `pkg path apps --offline` returned canonical
Apps in 258.438 seconds, with unchanged input pins. Its unit is inactive with
no remaining process or control group. Breeze's package wrapper now retains fetch and uses one ordered `pkg paths`
JSON response for all 28 selectors. It validates the full response before
creating links and preserves previous links on refusal. All nine black-box
consumer tests passed on Alpha, including malformed/incomplete responses,
selector and directory failures, and paths containing spaces, quotes,
backslashes, newlines and Unicode. Both prepared graph scripts parsed on Alpha.
These controlled-CLI tests do not establish actual batch compiler integration.
The upstream batch command subsequently passed its complete constrained local
package suite, including forwarding and immutable-cache refusal. The shared
upstream build changed afterward during independent work, so Breeze rebuilt
its own stable toolchain. Build 23 completed successfully with all 333 source
fingerprints unchanged, and its actual package CLI exactly matches the tested
upstream executable. Its finite Alpha unit is closed. Namespace 24 always uses
that app toolchain through a read-only canonical build overlay. The real
28-selector package integration stopped after helper cleanup disconnected the
Entity source export. Its failed result, unchanged host inputs and closed finite
unit are retained; it is not a package pass. Task-owned Entity, native and Ziran
exports now replace those helper lifetimes. Namespace 27 passed actual source
and compiler hash, write-denial and Git-root checks with all four old native,
Ziran, shared-build and batch-publication exports hidden. A new package run uses
only these verified mappings. Full current native graph, app build and
private-display playback remain pending. The package and compiler
phases are separate, reserving the heavy lock only for compilation.
No package cache was edited.
The first broader static audit timed out after 300 seconds and is closed. Its
directory-indexed successor completed the 495 roots and 987 resolved sources.
The Entity and Apps obsolete imports it identified are now repaired in their
canonical repositories. This static inventory and namespace verification are
not compiler passes. Full native app, package, decoder/mixer and private GUI
validation remain incomplete. No commit, push or installation has occurred.
The later Personal VM recovery supersedes the initial failures below. The fresh
Personal native handoff and actual KVM identity are verified. The saved count
recording passed the unchanged strict verifier on Personal with five tests
for changed metadata, truncation, missing generation wait, valid preserved
input and wrong job identity. The successor exited zero with its SSH worker
waited; no synthesis or model work was repeated. Its raw metadata was
reconciled once against the original reservation. Full audio QA remains
pending before publication.
The current-source suite on Personal passed font coverage, translations, clean
text API, button API, law mutation, sync recovery, version tests and the astral
course/clock/guidance/staging tests. It stopped at an English Sun Salutation
recording whose decoded peak exceeded the unchanged limit. The specialist's
later Personal validation passed all 307 shipped course lines and all 400 Sun
recordings after the scoped legacy headroom repairs. That independent result
clears this failure; the original suite had no changed source inputs.
Native validation uncovered Kryon folder migration in codec source discovery
and compiler search roots. Breeze now uses Kryon source inventory and manifest
roots. The locked compiler then rejected more than 64 module paths; the current
canonical Ziran task owns its dynamic-limit fix. Its Personal live export
passed the source-access probe. The first native run against it stopped before
make on an incorrect validation file list; its successor reached compiler
generation and failed on an undeclared `SliceRangeAt` call in generated
`compiler_parse.c`. All 288 compiler source fingerprints and the app inputs
were unchanged, while upstream HEAD advanced. The compiler task owns that
failure: the generated local `zir_slice.h` lacks the helper already present in
the canonical include header and shadows it through a quoted include. Full
native build and private GUI validation remain incomplete. The prepared next
run includes actual narration linking, six Portuguese decoder/mixer playback
cases, and the private-display chooser/session tests. No feature commit, push,
release or installation is claimed.
PT-specific files were copied with exact hashes. A real nested native/provider
probe passed on Personal. The new scoped QA transport reproduced the full
canonical alignment baseline exactly and preserved owned model waits; a
separate successor passed all nine integration/corruption tests. Full count
QA completed alignment, then stopped before speaker verification because the
canonical verifier interpreter alias is missing in the native importer. Its
owned SSH wait returned one and cleanup returned zero; the recorded unit is
inactive with no processes. Canonical PCM and its amplitude receipt remain
intact and match the retained alignment WAV. Nine retained-conversion tests,
ten scoped QA transport tests, and six completed-alignment reuse tests pass on
Personal. The real canonical context engine reuses the exact saved alignment;
a guard refuses to replay that original alignment before any child is started.
The accepted immutable importer handoff repairs the parent interpreter aliases
without changing the original profiles. A single cache-only count continuation
completed on Personal without any source, conversion or original alignment
replay. Its speaker score passed, but the extracted count lasted 0.4355 seconds,
below the unchanged 0.5-second minimum. The candidate is rejected and all four
reserved attempts are resolved; no unused count candidate remains. The original
alignment, audio and exact failure diagnostic are preserved. The saved Go source
and four never-reviewed ordinary sources are queued independently on Personal.
The original failure below is retained for provenance; the strict Personal
verification and metadata reconciliation above supersede it. The count
candidate in `fresh15-07-01/source` completed generation with an
owned worker and SSH exit of zero. Its separate strict verifier timed out
after 90 seconds; its child was terminated and waited (exit -15), and its SSH
returned one with successful cleanup. Preserve those bytes and the original
failure evidence. There is no verification proof or `raw-request-result.json`.
Continue verification of the saved source without repeating synthesis.
The finite quality batch completed dispatch 001 with an accepted staged
recording. Dispatch 002 returned 78 while queued, without quality output;
dispatches 003 and 004 were never created. The accepted staged Tai Chi clip
is not published: `publication7-production-01` is absent. Continue those
outcomes separately without replaying the finite batch.
The original app source suite failed at the missing `fontTools` import.
A fresh native-runner probe stopped before Python because its mount was absent.
The coordinator verified that `alpha-vm-host` is physical Alpha; the requested
target is the Alpha Personal VM (`alpha-personal`, hostname `personal`, KVM).
Use only the verified Personal VM handoff for future workloads. Earlier host
tests do not establish validation on the selected VM. Infrastructure repair,
full native app tests and private-display desktop/portrait tests remain pending.
No feature commit, push, release or installation has occurred.
The cached Japanese Tai Chi repair is integrated and locally revalidated, including full 16/48 kHz decoding and preservation of the other receipt rows and recordings. The corrected Russian follow-up finished with six accepted cues; its failed cue and all consumed attempts remain recorded. Portuguese Bruce narration is complete at 88 cues, while the wider requested narration set remains unfinished.
The Portuguese workout count comparison now has an explicit three-rule policy, with successor descriptors for the existing context families. Original provider profiles, canonical speech, historical policy bytes and quality limits remain unchanged. All 17 fresh ASR jobs passed for the 15 existing context proofs. Cached count Three passed its three additional checks and full ordinary validation. Both retained count One sources failed the unchanged encoded-duration minimum (0.467125 and 0.4275 seconds); the alternate was rejected before new model checks. All 23 actual model children are finished and reaped. The 16-row candidate passes full 16/48 kHz decoding with zero full-scale samples, 99 relevant local tests pass, and the 4,947-row frozen audit has no new default deltas. The reviewed 16-row migration is integrated locally: every affected public clip passes ordinary validation and full 16/48 kHz decoding, the old 15 recordings and all unrelated receipt entries are preserved, and both writer locks were released. The standard narration target passes 164 local tests plus the locale inventory check. Six Portuguese workout cues remain pending; their cache/ledger continuation plan is prepared without model work or reservations. No feature commit, push, release or installation has occurred.
### Current Personal import integration (2026-11-10)
The documented offline package operation completed and linked all 28 packages,
including the five canonical local overrides. Its broad audit saw unrelated
Kryon onetimecode/scrubfield edits, so that operation is not reported as a
whole-source validation. The subsequent full 495-module graph used stable
source and tool pins, but failed on unresolved layout and text functions.
The app now explicitly imports `kryon/layout_behavior` in the 54 files that
use its helpers. A focused real compiler probe on Alpha Personal passed for
KeyHash, Clamp, CenteredColumnFor and IsDesktopWidth with unchanged compiler
and app inputs; its owned unit is closed. The complete graph is still pending.
The retained widget probe establishes the separate reusable Kryon collision:
standard roots first fails Text and Image; component roots first passes;
qualifying only Text leaves Image failures. The failed overall probe is not a
passing suite. Exact canonical import edges were sent to the coordinator for
upstream repair. Breeze has no local root-order workaround. A fresh full graph
will capture source pins after those edits settle, followed by the native
build, Portuguese audio playback and private desktop/portrait GUI tests.
The native integration launcher was corrected before execution to pass only
its worker's actual argument. It has not run. No feature commit, push, release
or installation is claimed.
The next fresh 495-module graph also failed with stable source and tool pins.
Image lookup is repaired, but standard text and qualified widget text still
conflict. A four-case real compiler diagnostic passed the widget-only case;
adding standard text before or after the widget import failed. Its successful
harness exit is diagnostic completion, not a passing mixed-import test. The
minimal fixtures and exact failures are with the coordinator for upstream
routing. Modal, toolbar and scroll helper imports are now explicit in three
additional app files. The two pre-existing practice-home TextProps members
use explicit local types; the checker itself remains unchanged. Required API
and translation checks plus the practice-package check passed on Personal
before these import-only changes. Full native and GUI validation remains pending.
The focused modal/toolbar/scroll import probe passed on Alpha Personal with
unchanged app and compiler inputs; its owned unit is inactive with no processes.
The coordinator has assigned the mixed-import compiler prerequisite upstream.
There is no active finite app compiler consumer. The four owned source
transports remain open for integration. Resume the full graph only after the
coordinator confirms the new coherent tool set, using a new versioned admission;
the old 741/e292 admission remains immutable. The prepared native test sequence
also includes the existing astral parser/catalogue and narration target. This
task remains open; no feature commit, push, release or install has occurred.
### 2026-11-10 resumed local validation
Restored the Alpha Personal native test route against the canonical checkout,
with project-scoped writes, read-only dependencies/tool cache, cleared desktop
environment and private display sockets. The inherited namespace referenced
exports that no longer existed. The shared replacement is maintained under
Harmony's ignored backup/alpha-live-checkout, not application source.
The clean text API, button API and translated-locale local tests passed
(receipt 5feaabae3bf63bbc9989017054964ec8848e). Build-laws stopped at missing
Chinese U+996E and Korean U+D488 glyphs before compilation. Regenerated the
existing shipped font subsets on Personal; the font coverage test now reports
zero missing glyphs. The focused content, narration timing and package-source
local tests passed (receipt 744cd368474012615c5906294a3fe3fe1f7a). These are
source/data tests, not full native platform validation.
The full graph attempt failed resolving a real relative file import in
app_notifications.zi (receipt a5e1ae3d9c1965773c4fed1524333b8a5176). The
minimal fixture reproduces that physical file import failure until its nested
directory is separately listed as a package source root. No app manifest
workaround was applied. The coordinator has the diagnostic and upstream
compiler repair; all this task's compiler consumers are closed pending its
new stable tool admission. A concurrent peer source change also prevents
accepting that failed full-graph run as a stable integrated result.
Static preflight of practice_audio_ui.py, session_window_ui_test.py and
astral_projection_ui_test.py passed on Personal, including the actual
countdown regex and ALSA config line breaks (receipt
85e14a8e400cdf9b420363a08df7fe130c82). The music modal, focused/unfocused
single-click breathing and all six desktop/portrait astral interaction tests
still require a fresh native build and private-display execution.
Metadata inventory found Portuguese 88/88, Russian 9/88, and one clip in each
of the other eight supported languages: 105/880, with 775 pending. This count
is not new ASR/content certification. Media generation stays with the owning
media task; no generation or unknown publication was replayed. App source,
fonts and tests remain uncommitted. No push, release or installation occurred.
The shared runner's optional native artifact binding is verified separately
(receipt e704759c72929ec7fa7c26cf7ceba3c226d3): worker-owned ext4
output/artifacts can be writable at the Ziran artifact-cache path while the
global cache, dependency sources and compiler remain read-only. No compiler
was invoked by that probe.
Broader source gates passed version consistency, settings persistence keys,
and all 813 used locale keys with matching placeholders. The English unused
media_compression_offline key failure was routed to its owning media task.
Added a dedicated ming-segment-pipeline-test make target for the existing
real float-WAV/cache/PCM fixture test, which needs NumPy and soundfile but
loads no model. All 344 test entry points now have a runner.
The complete Ming/local narration fixture targets passed on Personal through
the build queue (receipt c82ebcba08f23b320a6693474b02339fb57a): 169 unittest
cases plus the ten-locale inventory assertions. Fake synthesis stays inside
test fixtures; no model or recording generation ran. A timed-out dependency
download was recovered from its completed wheel and installed offline into
the existing native Python site, reusing system NumPy/CFFI. The test-target
change remains uncommitted with the rest of the feature. Native compilation,
actual narration playback and private app GUI validation remain pending the
coordinator's new compiler cohort; missing narration remains a separate gate.
Native continuation is now prepared in the existing ignored Alpha preparation
folder: resume_native_worker.py and the updated resume_canonical.py require
an explicit new tool-cohort manifest for native execution (CLI, zi2zir,
zi2c and libziran.a). Personal syntax preflight passed (receipt
a92917a06fad026f04978ca710914b26cb8c). The existing native worker root now
has output/artifacts; its narrow cache bind passed the same read-only source
and tool checks (receipt 06aa61ee28fa51ca52efe398fb20a8729422). The worker
will record each gate separately, including actual Portuguese playback and
both private UI suites, with source/tool audits afterward. It has not run.
The coordinator has this exact continuation contract and will supply the
replacement compiler cohort; no compiler was invoked during its rebuild hold.
File diff suppressed because it is too large. Load diff
+5 -1
View File
@@ -51,5 +51,9 @@
"astral_text_19",
"astral_text_20"
],
"instructions": "Speak softly and slowly, like a calm, caring guide at bedtime, in a natural, airy voice with low energy and no bright emphasis. Leave relaxed pauses at commas and between sentences. Read the supplied text exactly in its language. Do not add music or extra words."
"instructions": "Speak softly and slowly, like a calm, caring guide at bedtime, in a natural, airy voice with low energy and no bright emphasis. Leave relaxed pauses at commas and between sentences. Read the supplied text exactly in its language. Do not add music or extra words.",
"ming": "design/narration/ming-female.json",
"f5_russian": "design/narration/f5-russian.json",
"chatterbox_czech": "design/narration/chatterbox-czech.json",
"chatterbox-portuguese": "design/narration/chatterbox-portuguese.json"
}
+657
View File
@@ -0,0 +1,657 @@
{
"version": 1,
"background": "transparent",
"style": "Minimal Taoist ink-and-watercolor cutouts on a transparent background; soft indigo, charcoal, muted green, and pale gold; no paper fill, text, or people.",
"encoding": "1254 px transparent PNG master, Lanczos 75% to 940 px, alpha-preserving AVIF q70 4:4:4 full range speed 6 jobs 1",
"approval": "pending",
"chapters": [
{
"number": 1,
"title": "The Nameless Tao",
"theme": "the nameless source",
"request_id": "7abfcdb9e4cf44522785fc6558651320ab2f",
"asset": "assets/library/tao-te-ching/chapter-1.avif",
"approval": "pending"
},
{
"number": 2,
"title": "Beauty and Opposites",
"theme": "opposites arising together",
"request_id": "c2590a0183610784b810cc7e9986d45b06a9",
"asset": "assets/library/tao-te-ching/chapter-2.avif",
"approval": "pending"
},
{
"number": 3,
"title": "Governing Without Desire",
"theme": "governing without desire",
"request_id": "04bb2e88992bdf3e094e337aca7a1a29b01e",
"asset": "assets/library/tao-te-ching/chapter-3.avif",
"approval": "pending"
},
{
"number": 4,
"title": "The Empty Bowl",
"theme": "the inexhaustible empty bowl",
"request_id": "8d935e5be179c41e92d63faf57d0535c7863",
"asset": "assets/library/tao-te-ching/chapter-4.avif",
"approval": "pending"
},
{
"number": 5,
"title": "Heaven and Earth",
"theme": "heaven and earth without partiality",
"request_id": "e48af4063ffdd22ed6cd5b98914d4821ef50",
"asset": "assets/library/tao-te-ching/chapter-5.avif",
"approval": "pending"
},
{
"number": 6,
"title": "The Valley Spirit",
"theme": "the hidden valley spirit",
"request_id": "7e915d979e055c6504a5f54e52e8e629b301",
"asset": "assets/library/tao-te-ching/chapter-6.avif",
"approval": "pending"
},
{
"number": 7,
"title": "Lasting by Giving",
"theme": "lasting by giving",
"request_id": "5e3cbc8ef7c3c9083e72e639115d92bf3ee5",
"asset": "assets/library/tao-te-ching/chapter-7.avif",
"approval": "pending"
},
{
"number": 8,
"title": "Like Water",
"theme": "water benefiting all",
"request_id": "c30a6bd0e17fbb0009ff9b049f7653c6df32",
"asset": "assets/library/tao-te-ching/chapter-8.avif",
"approval": "pending"
},
{
"number": 9,
"title": "Knowing When to Stop",
"theme": "knowing when to stop",
"request_id": "8752f407357f00900fc71dc06ebbd97f8b8e",
"asset": "assets/library/tao-te-ching/chapter-9.avif",
"approval": "pending"
},
{
"number": 10,
"title": "Holding to the One",
"theme": "holding body and spirit as one",
"request_id": "0a86bacf45c5033edf67268bb95e011f8aa6",
"asset": "assets/library/tao-te-ching/chapter-10.avif",
"approval": "pending"
},
{
"number": 11,
"title": "The Use of Emptiness",
"theme": "useful emptiness",
"request_id": "5b3b94e9200cca50fa1909a5ad3d4f771048",
"asset": "assets/library/tao-te-ching/chapter-11.avif",
"approval": "pending"
},
{
"number": 12,
"title": "Beyond the Senses",
"theme": "returning inward from the senses",
"request_id": "bf4ac5f8eb538a2f35051e4f717e73173493",
"asset": "assets/library/tao-te-ching/chapter-12.avif",
"approval": "pending"
},
{
"number": 13,
"title": "Favor and Disgrace",
"theme": "calm beyond favor and disgrace",
"request_id": "5d52a7ce5774055c0588a0825fa6c8d27942",
"asset": "assets/library/tao-te-ching/chapter-13.avif",
"approval": "pending"
},
{
"number": 14,
"title": "The Hidden Tao",
"theme": "the formless hidden way",
"request_id": "b76c4e9d8a1359377459d462b977e971b592",
"asset": "assets/library/tao-te-ching/chapter-14.avif",
"approval": "pending"
},
{
"number": 15,
"title": "The Sages of Old",
"theme": "stillness of the old masters",
"request_id": "f5094211a3bb8c8ac9ce0c4cf9be8e308b50",
"asset": "assets/library/tao-te-ching/chapter-15.avif",
"approval": "pending"
},
{
"number": 16,
"title": "Returning to Stillness",
"theme": "returning to stillness",
"request_id": "d5f7d56bf88650899781f29fc83fff11d65f",
"asset": "assets/library/tao-te-ching/chapter-16.avif",
"approval": "pending"
},
{
"number": 17,
"title": "The Best Rulers",
"theme": "leadership without display",
"request_id": "6423f50c0e7b874e9e03a607c2281f050ffc",
"asset": "assets/library/tao-te-ching/chapter-17.avif",
"approval": "pending"
},
{
"number": 18,
"title": "When the Tao Is Lost",
"theme": "lost unity and invented virtue",
"request_id": "2845077a2a352b36fa665c09e48d3ea7bba9",
"asset": "assets/library/tao-te-ching/chapter-18.avif",
"approval": "pending"
},
{
"number": 19,
"title": "Returning to Simplicity",
"theme": "returning to simplicity",
"request_id": "550b2569bcf1470f028e49c6db982502ebbf",
"asset": "assets/library/tao-te-ching/chapter-19.avif",
"approval": "pending"
},
{
"number": 20,
"title": "Apart from the Crowd",
"theme": "apart from the crowd",
"request_id": "809b6e4a8b0539285bf80ac00ffb72f1f699",
"asset": "assets/library/tao-te-ching/chapter-20.avif",
"approval": "pending"
},
{
"number": 21,
"title": "Following the Tao",
"theme": "the way within the vague",
"request_id": "49938bf8a595f169316cd5c094e369b208e4",
"asset": "assets/library/tao-te-ching/chapter-21.avif",
"approval": "pending"
},
{
"number": 22,
"title": "Bending to Be Whole",
"theme": "yielding to become whole",
"request_id": "4e459f3738fadc134fbfcdd8e0f1764fd2a0",
"asset": "assets/library/tao-te-ching/chapter-22.avif",
"approval": "pending"
},
{
"number": 23,
"title": "Speaking Little",
"theme": "the power of few words",
"request_id": "fb09b09bfaf4f4366dfb1b3b68783eb4d4eb",
"asset": "assets/library/tao-te-ching/chapter-23.avif",
"approval": "pending"
},
{
"number": 24,
"title": "Standing on Tiptoe",
"theme": "forced standing cannot last",
"request_id": "441afa9b85879063217541a2818fcb38423c",
"asset": "assets/library/tao-te-ching/chapter-24.avif",
"approval": "pending"
},
{
"number": 25,
"title": "Before Heaven and Earth",
"theme": "before heaven and earth",
"request_id": "1b0e77b8ba071ef10e0fa2dbcde199206589",
"asset": "assets/library/tao-te-ching/chapter-25.avif",
"approval": "pending"
},
{
"number": 26,
"title": "The Root of Stillness",
"theme": "the root of stillness",
"request_id": "e0abcdfde3e493315b6e8eaf288398c9d499",
"asset": "assets/library/tao-te-ching/chapter-26.avif",
"approval": "pending"
},
{
"number": 27,
"title": "Leaving No Tracks",
"theme": "leaving no tracks",
"request_id": "abc6d36903dde6d12cac7259a82b03cf3e66",
"asset": "assets/library/tao-te-ching/chapter-27.avif",
"approval": "pending"
},
{
"number": 28,
"title": "The Uncarved Block",
"theme": "the uncarved block",
"request_id": "739e063de4a401072ce787ec030c661fb180",
"asset": "assets/library/tao-te-ching/chapter-28.avif",
"approval": "pending"
},
{
"number": 29,
"title": "The Sacred Vessel",
"theme": "the sacred vessel untouched",
"request_id": "78437d9cf9220630046c1f50aaf18f37d50c",
"asset": "assets/library/tao-te-ching/chapter-29.avif",
"approval": "pending"
},
{
"number": 30,
"title": "The Return of Force",
"theme": "the return of force",
"request_id": "0501c97124be38803c08c123199bba11ccb5",
"asset": "assets/library/tao-te-ching/chapter-30.avif",
"approval": "pending"
},
{
"number": 31,
"title": "Weapons and Peace",
"theme": "weapons laid aside",
"request_id": "1f80758ba248d9d91edb7adf55c8132aaef3",
"asset": "assets/library/tao-te-ching/chapter-31.avif",
"approval": "pending"
},
{
"number": 32,
"title": "The Nameless Whole",
"theme": "the nameless whole",
"request_id": "f5ecc0d62396fcc11bd0b69d0110d01aab28",
"asset": "assets/library/tao-te-ching/chapter-32.avif",
"approval": "pending"
},
{
"number": 33,
"title": "Knowing Yourself",
"theme": "knowing yourself",
"request_id": "376fb6e4ced97f0c632a13791e37b6df8849",
"asset": "assets/library/tao-te-ching/chapter-33.avif",
"approval": "pending"
},
{
"number": 34,
"title": "The Overflowing Tao",
"theme": "the great way overflows",
"request_id": "ec88d205d90dab97e9be3351871d9f5e9d8e",
"asset": "assets/library/tao-te-ching/chapter-34.avif",
"approval": "pending"
},
{
"number": 35,
"title": "The Great Image",
"theme": "the great image without form",
"request_id": "f0305b36f627aab53570953dede9302b2a78",
"asset": "assets/library/tao-te-ching/chapter-35.avif",
"approval": "pending"
},
{
"number": 36,
"title": "The Strength of Softness",
"theme": "soft strength hidden deep",
"request_id": "0381239e728ae5de910c28856c97358b2898",
"asset": "assets/library/tao-te-ching/chapter-36.avif",
"approval": "pending"
},
{
"number": 37,
"title": "Doing Without Forcing",
"theme": "quiet nonaction",
"request_id": "b072db2cd7344f7e5e961aa6ba82b230477e",
"asset": "assets/library/tao-te-ching/chapter-37.avif",
"approval": "pending"
},
{
"number": 38,
"title": "The Highest Virtue",
"theme": "virtue beyond ceremony",
"request_id": "8a3f83ef966f11c2e15fd83ca5428728f89d",
"asset": "assets/library/tao-te-ching/chapter-38.avif",
"approval": "pending"
},
{
"number": 39,
"title": "Holding to the One",
"theme": "the one root of all",
"request_id": "1df5f7e36b7534d8ae4ee9c22b941140646e",
"asset": "assets/library/tao-te-ching/chapter-39.avif",
"approval": "pending"
},
{
"number": 40,
"title": "Turning Back",
"theme": "return and soft being",
"request_id": "f06abfe6dccf8a38d0487d4533c45e34c1bc",
"asset": "assets/library/tao-te-ching/chapter-40.avif",
"approval": "pending"
},
{
"number": 41,
"title": "Hearing of the Tao",
"theme": "the great image without shape",
"request_id": "6a887d2f2db122aa17e032cb5a0242ebf16e",
"asset": "assets/library/tao-te-ching/chapter-41.avif",
"approval": "pending"
},
{
"number": 42,
"title": "The Birth of All Things",
"theme": "one becoming two and three",
"request_id": "45f952b5945f5531eb668730e4c78e412edb",
"asset": "assets/library/tao-te-ching/chapter-42.avif",
"approval": "pending"
},
{
"number": 43,
"title": "The Softest Thing",
"theme": "the softest thing passes through",
"request_id": "f2e416b4adb2a26dbcd2629e75f3c5ceece3",
"asset": "assets/library/tao-te-ching/chapter-43.avif",
"approval": "pending"
},
{
"number": 44,
"title": "Knowing What Is Enough",
"theme": "knowing enough",
"request_id": "6a49ff7724fb8e398e6d5d3cd27499ec2aee",
"asset": "assets/library/tao-te-ching/chapter-44.avif",
"approval": "pending"
},
{
"number": 45,
"title": "Fullness and Emptiness",
"theme": "true fullness seems empty",
"request_id": "747919310d8157ef0f346f0f7d2ff521aa87",
"asset": "assets/library/tao-te-ching/chapter-45.avif",
"approval": "pending"
},
{
"number": 46,
"title": "Contentment",
"theme": "contentment returns horses to fields",
"request_id": "d9cb4fb299f301da64782937ac26e2d409d2",
"asset": "assets/library/tao-te-ching/chapter-46.avif",
"approval": "pending"
},
{
"number": 47,
"title": "Knowing Without Going",
"theme": "knowing without leaving",
"request_id": "8079899b0654fceec637b3399b2b947218b6",
"asset": "assets/library/tao-te-ching/chapter-47.avif",
"approval": "pending"
},
{
"number": 48,
"title": "Less and Less",
"theme": "less and less",
"request_id": "c5f5940d511b85e11d0f8c267f79a27bdd0d",
"asset": "assets/library/tao-te-ching/chapter-48.avif",
"approval": "pending"
},
{
"number": 49,
"title": "The Sage's Heart",
"theme": "the sage's sheltering heart",
"request_id": "593a3fae4447a7626899364227e5fb545eb4",
"asset": "assets/library/tao-te-ching/chapter-49.avif",
"approval": "pending"
},
{
"number": 50,
"title": "Life and Death",
"theme": "no place for death",
"request_id": "25d12ca11431c13ff6ba299bc30db8192179",
"asset": "assets/library/tao-te-ching/chapter-50.avif",
"approval": "pending"
},
{
"number": 51,
"title": "Life and Nurture",
"theme": "life and quiet nurture",
"request_id": "1b552d2814aa04b500517de4848c78b401a9",
"asset": "assets/library/tao-te-ching/chapter-51.avif",
"approval": "pending"
},
{
"number": 52,
"title": "Finding the Mother",
"theme": "returning to the mother",
"request_id": "c579dbd2733c81d0bda39fdf0b24cb010ff1",
"asset": "assets/library/tao-te-ching/chapter-52.avif",
"approval": "pending"
},
{
"number": 53,
"title": "The Great Road",
"theme": "the great straight road",
"request_id": "1b6770b7d969a9c8f1b186f501dcbf4823d4",
"asset": "assets/library/tao-te-ching/chapter-53.avif",
"approval": "pending"
},
{
"number": 54,
"title": "Cultivating Virtue",
"theme": "virtue rooted in ground",
"request_id": "1061830937a07b007dbe1480138194190d80",
"asset": "assets/library/tao-te-ching/chapter-54.avif",
"approval": "pending"
},
{
"number": 55,
"title": "Like a Newborn",
"theme": "newborn suppleness",
"request_id": "670cf24798e6c38fd27228fa42e552826ea5",
"asset": "assets/library/tao-te-ching/chapter-55.avif",
"approval": "pending"
},
{
"number": 56,
"title": "Knowing and Silence",
"theme": "oneness and silence",
"request_id": "4a9a2e86dacecfc8916f2e0d79c82dcacf4c",
"asset": "assets/library/tao-te-ching/chapter-56.avif",
"approval": "pending"
},
{
"number": 57,
"title": "Leading Without Forcing",
"theme": "leading without contrivance",
"request_id": "5bf9c1c5698d5da712fa30dc22752fb11dda",
"asset": "assets/library/tao-te-ching/chapter-57.avif",
"approval": "pending"
},
{
"number": 58,
"title": "Fortune and Misfortune",
"theme": "fortune and misfortune together",
"request_id": "e114b56e9ce44d546edddaf4a935938d7f8d",
"asset": "assets/library/tao-te-ching/chapter-58.avif",
"approval": "pending"
},
{
"number": 59,
"title": "Storing Up Virtue",
"theme": "deep stored virtue",
"request_id": "01700daedb54da231875ddf269f0723efdf4",
"asset": "assets/library/tao-te-ching/chapter-59.avif",
"approval": "pending"
},
{
"number": 60,
"title": "Cooking a Little Fish",
"theme": "a small fish undisturbed",
"request_id": "31f5d2577dfd9fe3d35fb20a693082aeca33",
"asset": "assets/library/tao-te-ching/chapter-60.avif",
"approval": "pending"
},
{
"number": 61,
"title": "The Low River",
"theme": "the low river receives",
"request_id": "f2e001f2fbf2b23d81a07f0cb0281810b021",
"asset": "assets/library/tao-te-ching/chapter-61.avif",
"approval": "pending"
},
{
"number": 62,
"title": "The Shelter of All Things",
"theme": "shelter of all things",
"request_id": "61d564df45698dd41b79e2a978f6d9883ee8",
"asset": "assets/library/tao-te-ching/chapter-62.avif",
"approval": "pending"
},
{
"number": 63,
"title": "Beginning with the Small",
"theme": "begin with the small",
"request_id": "13f5f0a4c499a31127458addd482e3b9728c",
"asset": "assets/library/tao-te-ching/chapter-63.avif",
"approval": "pending"
},
{
"number": 64,
"title": "Before Trouble Begins",
"theme": "acting before trouble",
"request_id": "761f50076ae478f998c20fe7e6d9c09636b6",
"asset": "assets/library/tao-te-ching/chapter-64.avif",
"approval": "pending"
},
{
"number": 65,
"title": "Keeping Things Simple",
"theme": "simple clarity",
"request_id": "0e0d55f893bb0bbb814dbeceb0c8516c4fdc",
"asset": "assets/library/tao-te-ching/chapter-65.avif",
"approval": "pending"
},
{
"number": 66,
"title": "Leading by Lying Low",
"theme": "leading from below",
"request_id": "40e26d1dd738c35009426477c231600cb127",
"asset": "assets/library/tao-te-ching/chapter-66.avif",
"approval": "pending"
},
{
"number": 67,
"title": "The Three Treasures",
"theme": "the three treasures",
"request_id": "0245f50b864702a1d9e8d0387a106f2839c2",
"asset": "assets/library/tao-te-ching/chapter-67.avif",
"approval": "pending"
},
{
"number": 68,
"title": "The Virtue of Not Fighting",
"theme": "not fighting",
"request_id": "0e4db5ff802a54fd7a95cfe0a683eb7f385d",
"asset": "assets/library/tao-te-ching/chapter-68.avif",
"approval": "pending"
},
{
"number": 69,
"title": "Yielding in Conflict",
"theme": "yielding in conflict",
"request_id": "39bf904cc80e7045e0f22b3876a6610d8175",
"asset": "assets/library/tao-te-ching/chapter-69.avif",
"approval": "pending"
},
{
"number": 70,
"title": "Jade Beneath Plain Clothes",
"theme": "jade beneath plain cloth",
"request_id": "94e9548104faca1b6ec276b1ff148ceb5f4a",
"asset": "assets/library/tao-te-ching/chapter-70.avif",
"approval": "pending"
},
{
"number": 71,
"title": "Knowing You Do Not Know",
"theme": "knowing you do not know",
"request_id": "e5ed3b644726f4c7ce4dab581350b6c5fe9f",
"asset": "assets/library/tao-te-ching/chapter-71.avif",
"approval": "pending"
},
{
"number": 72,
"title": "Power and Respect",
"theme": "power with restraint",
"request_id": "4d1e715d78e48109cb4449dd6b752f3d2ba7",
"asset": "assets/library/tao-te-ching/chapter-72.avif",
"approval": "pending"
},
{
"number": 73,
"title": "The Courage Not to Dare",
"theme": "heaven's wide net",
"request_id": "593f09a5d3013c4bb99dc6f1bbc1bc6b1f8d",
"asset": "assets/library/tao-te-ching/chapter-73.avif",
"approval": "pending"
},
{
"number": 74,
"title": "The Master Carpenter",
"theme": "the master carpenter",
"request_id": "abd947273d621c9a41f5481ff332b98335a8",
"asset": "assets/library/tao-te-ching/chapter-74.avif",
"approval": "pending"
},
{
"number": 75,
"title": "Why People Hunger",
"theme": "fields before heavy rule",
"request_id": "e0cb3758638a94640338787ffae93e3a4951",
"asset": "assets/library/tao-te-ching/chapter-75.avif",
"approval": "pending"
},
{
"number": 76,
"title": "The Softness of Life",
"theme": "softness of life",
"request_id": "8b8d0c1aed2ff74e0e1babdf146a99d27b06",
"asset": "assets/library/tao-te-ching/chapter-76.avif",
"approval": "pending"
},
{
"number": 77,
"title": "The Bow of Heaven",
"theme": "heaven's balanced bow",
"request_id": "78d00f7f736c2e32e933df2ed15f2523e0d1",
"asset": "assets/library/tao-te-ching/chapter-77.avif",
"approval": "pending"
},
{
"number": 78,
"title": "Water Overcomes the Hard",
"theme": "water overcomes stone",
"request_id": "f1d7ff490b33cd26892380f5e672a1f9d249",
"asset": "assets/library/tao-te-ching/chapter-78.avif",
"approval": "pending"
},
{
"number": 79,
"title": "Settling a Quarrel",
"theme": "the rejoined tally",
"request_id": "377d139af12b14011420590577431e965cd7",
"asset": "assets/library/tao-te-ching/chapter-79.avif",
"approval": "pending"
},
{
"number": 80,
"title": "A Small Country",
"theme": "a small contented country",
"request_id": "a5addc33155d7f1a17a4d4a568f07dfd8523",
"asset": "assets/library/tao-te-ching/chapter-80.avif",
"approval": "pending"
},
{
"number": 81,
"title": "Words That Are True",
"theme": "true words, plain and giving",
"request_id": "e94f9f250d81a3d9d92d241a25db29a16317",
"asset": "assets/library/tao-te-ching/chapter-81.avif",
"approval": "pending"
}
]
}
+8 -1
View File
@@ -41,5 +41,12 @@
"lumi_guide_chat",
"lumi_guide_online"
],
"documentation": "https://openrouter.ai/docs/guides/overview/multimodal/tts"
"documentation": "https://openrouter.ai/docs/guides/overview/multimodal/tts",
"ming": "design/narration/ming-female.json",
"f5_russian": "design/narration/f5-russian.json",
"chatterbox_czech": "design/narration/chatterbox-czech.json",
"chatterbox-portuguese": "design/narration/chatterbox-portuguese.json",
"locale_text_files": {
"ru": "design/lumi-guide/text-female/ru.txt"
}
}
File diff suppressed because it is too large. Load diff
+96
View File
@@ -0,0 +1,96 @@
[launcher_guide_find]
Привет, я Lumi, и я всё тебе покажу! Это экран «Приложения». Введи здесь название, чтобы найти приложение, и нажми на его карточку, чтобы открыть.
---
[practice_guide_carousel]
Смотри, вот твои практики: от дыхания до медитации и йоги. Смахни влево или вправо или нажми на стрелки, чтобы выбрать одну.
---
[practice_guide_start]
Когда захочешь, нажми здесь, чтобы начать. Устройся поудобнее и просто следуй подсказкам.
---
[practice_guide_manual_config]
Хочешь узнать, как устроена практика? «Как делать» объяснит всё шаг за шагом, а «Настроить» поможет подстроить её под себя.
---
[habits_guide_overview_progress]
Здесь я считаю твои привычки на сегодня и сколько из них уже выполнено. Смотри, как заполняется полоска!
---
[habits_guide_coins]
Каждая выполненная привычка приносит тебе монеты, а более трудные приносят больше. Нажми на магазин и потрать их на награды, которые выберешь сам!
---
[habits_guide_overview_grid]
Каждый кружок — это день. Нажми на него, чтобы отметить день, посчитать, ответить на вопросы или начать и закончить отрезок. Нажми на привычку, чтобы узнать больше, или перетащи её, чтобы изменить порядок или убрать в неактивные.
---
[habits_guide_meditation_views]
Здесь открывается история привычки — по неделям или в календаре, чтобы оглянуться назад и заполнить любой день.
---
[habits_guide_meditation_statistics]
«Статистика» показывает, как ты растёшь: твои серии, последние 30 дней и что складывается из твоих ответов, отрезков и практик.
---
[habits_guide_meditation_edit]
При изменении привычки можно поменять название, значок, цвет и расписание, связать практики и выбрать, что учитывать: счётчик, отрезок от начала до конца или вопросы.
---
[habits_guide_meditation_session_data]
Когда ты завершаешь связанную практику, её день заполняется сам. Нажми на заполненный день в любой момент, чтобы увидеть сессии и ответы.
---
[lists_guide_tabs]
Здесь твои списки, у каждого своя вкладка. Нажми «Новый список», чтобы начать ещё один; карандаш переименовывает открытый список, а корзина удаляет его.
---
[lists_guide_add]
Напиши здесь что-нибудь и нажми «Добавить», чтобы внести это в список.
---
[lists_guide_items]
Отмечай пункт, когда он сделан, а «Показать выполненные» возвращает готовые пункты. У каждого пункта есть свой карандаш и своя корзина.
---
[diary_guide_days]
Это твой дневник, по странице на каждый день. Стрелки листают на день назад или вперёд.
---
[diary_guide_today]
«Сегодня» возвращает тебя на сегодняшнюю страницу, а календарь показывает дни с записями.
---
[diary_guide_write]
Пиши здесь сколько хочешь. Кнопки сверху отменяют и повторяют, проверяют орфографию и добавляют время или фото.
---
[leaderboard_guide_practices]
Здесь ты и твои друзья сравниваете свои практики. Выбери практику, чтобы увидеть её таблицу.
---
[leaderboard_guide_ranking]
Нажми на название столбца, чтобы упорядочить всех по нему; твоя строка выделена. Добавь друзей в профиле, чтобы видеть их здесь.
---
[settings_guide_sections]
Твои настройки разложены по разделам. Нажми на любой, чтобы посмотреть, что внутри.
---
[settings_guide_audio]
В разделе «Аудио» громкость сигналов задаёт, насколько громко звучат сигналы и мой голос. Убавь её до нуля, и я буду вести тебя молча.
---
[settings_guide_appearance]
«Внешний вид» меняет облик Inner Breeze: цвета, светлую или тёмную тему, размер всего и место меню.
---
[profile_guide_you]
Это ты. Нажми на своё фото, чтобы сменить его, а кнопка аккаунта синхронизирует твой прогресс и бережёт его.
---
[profile_guide_week]
Вот твоя неделя с одного взгляда: привычки на сегодня, активные дни и твои сессии.
---
[profile_guide_more]
Ниже — твои друзья, данные, аккаунт и Телеграм. Каждый раздел открывается одним нажатием.
---
[statistics_guide_numbers]
Это цифры этой привычки: твоя текущая серия и сколько из последних 30 дней она выполнена.
---
[statistics_guide_more]
Прокрути вниз, там больше: настроение после практики, твой недельный ритм и графики ответов, отрезков или раундов практики, если они есть у привычки.
---
[shop_guide_coins]
Здесь я храню монеты, которые заработали твои привычки. Средняя привычка приносит 1 в день, трудная 2, а очень трудная 3.
---
[shop_guide_add]
Добавь награду, которая тебе нравится, и назначь ей цену, например вечер кино за 10 монет.
---
[shop_guide_buy]
Когда монет хватит, купи награду и наслаждайся. Ты её заслужил!
---
[lumi_guide_chat]
Здесь мы разговариваем. Попроси меня добавить что-то в список, отметить привычку, начать практику или написать в дневник. Набери косую черту, чтобы увидеть всё, что я умею.
---
[lumi_guide_online]
В офлайне я понимаю тебя прямо на устройстве и ничего не отправляю. Переключи меня в онлайн, и я спрошу ИИ-модель, когда сама не пойму тебя.
---
+231
View File
@@ -0,0 +1,231 @@
# Local female narration
The app supports `en es cs de fr pt ru ja ko zh`. Ming handles `en es de fr ja ko zh`;
Russian uses `Misha24-10/F5-TTS_RUSSIAN`, and Czech uses
`Thomcles/Chatterbox-TTS-Czech`. Portuguese selects
`FearL0rd/Chatterbox-TTS-Portuguese`. Indonesian and Italian are removed
from active UI, text, packs and inventories, with verified recovery copies.
The inventory has 496 female cues per language: guide 32, Tai Chi 307, Sun
Salutation 20, original Astral 20, Workout 29, and the six Bruce practices 88.
Replacing the seven Ming languages requires 3,472 clips; all ten female
inventories require 4,960, including 880 new Bruce recordings. Male recordings
retain their existing provider and paths in supported languages. WHM,
meditation and patterns currently have no spoken narration inventory.
`ming-inventory.json` is an inventory snapshot, not a generation receipt. Refresh
it without changing package links:
```sh
python3 scripts/practice-narration-inventory.py \
--media-root /mnt/storage/Projects/waozixyz/modules/practices \
--output design/narration/ming-inventory.json
```
The public `ming-female.json` descriptor pins the official model/runtime
revisions, every runtime/model/ASR artifact, the synthetic female WAV and CAMPPlus
embedding, the local adapter source, and Python package versions. Female configs
reference it through `ming`. The default generation command retains the previous
provider; Ming is selected explicitly with `--ming-profile`. No unsupported
locale is sent to Ming or silently redirected to another service.
The ignored `backup/narration/ming-local.json` supplies existing absolute paths.
Model and ASR weights now use the shared harness store; the runtime, environment
and female reference remain at their original read-only installation paths:
```json
{
"runtime": "/absolute/existing/ming/runtime",
"model": "/mnt/storage/Projects/harness/models/weights/tts/ming-3.0-tts-0.5b",
"reference": "/absolute/existing/calm-female.wav",
"embedding": "/absolute/existing/calm-female.pt",
"asr": "/mnt/storage/Projects/harness/models/weights/asr/whisper-small",
"verification_models": {
"openai/whisper-small": "/mnt/storage/Projects/harness/models/weights/asr/whisper-small",
"openai/whisper-large-v3-turbo": "/mnt/storage/Projects/harness/models/weights/asr/whisper-large-v3-turbo"
},
"threads": 2
}
```
Use the interpreter of that installation. No command below downloads or installs
models. To deliberately fingerprint an installation after a reviewed adapter or
runtime change, run `scripts/prepare-ming-profile.py --local
backup/narration/ming-local.json --output design/narration/ming-female.json`.
Changing verification settings invalidates affected QA receipts. The separate
`verification` block pins Japanese and Korean to Whisper Large v3 Turbo; the
other five Ming languages retain Whisper Small. Each transcript records its actual model,
revision, artifact manifest hash, language, full sample count and encoded audio
hash. One recognizer is loaded at a time, including language switches.
`--previous-verification-profile` may retain explicitly pinned prior QA identities
only for locales whose model, revision and artifact manifest are unchanged. It
does not accept Korean's earlier Small receipts under the Turbo route.
Removing only `verification` reconstructs the exact original synthesis profile.
The original Ming and Whisper adapter files remain unchanged, so cached PCM,
request hashes and original synthesis provenance survive the verifier update.
Use `--cached-only` with the generation command to recheck existing pilot PCM;
it refuses missing or changed cached audio before any new synthesis. Fresh ASR,
speaker, duration, direction, number and ending validation still runs.
Attempt diagnostics are saved under ignored
`backup/narration/diagnostics/<locale>/<key>/<run>.json`. Each bounded record
retains the actual attempt's duration, speaker threshold, ASR identity, raw text,
scores and rejection reasons. A final failure distinguishes the best transcript
from the last attempt. These records never certify a recording by themselves.
The Sun Salutation comparison permits `向后脉`/`向後脈` and `向后卖`/`向後賣` only when its source
contains `向后迈`, plus that cue's traditional script equivalents. The raw ASR
text stays intact, and pulse words elsewhere are unchanged. The MOE dictionary
lists the shared pronunciation for [邁](https://dict.revised.moe.edu.tw/dictView.jsp?ID=1115&la=0&powerMode=0)
and [脈](https://dict.revised.moe.edu.tw/dictView.jsp?ID=1110&la=0&powerMode=0).
Its [賣 entry](https://dict.concised.moe.edu.tw/dictView.jsp?ID=3820&q=1) also records that pronunciation.
Japanese and Korean have no new pronunciation aliases: Turbo correctly recognizes
the saved Japanese leg instruction and Korean breathing cue that Small misrecognized.
Very short Sun Salutation cues have an explicit context path for `pt cs ru es fr zh`.
`short-context-provider-v4.json` binds each exact short phrase to a longer existing practice
instruction, the helper and verifier sources, and the blind alignment model.
Ordinary cues keep their original synthesis requests and receipt identity. Use
both options for context generation or preflight:
```sh
--context-profile design/narration/short-context-provider-v4.json \
--context-local-profile backup/narration/context-local.json
```
The current helper/verifier use explicit successor descriptors: Sun Salutation
`short-context-provider-v4.json`, Czech workout
`workout-czech-context-provider-v4.json`, Tai Chi
`tai-chi-short-context-provider-v4.json`, Czech counts
`workout-czech-count-semantics-v3.json`, and Portuguese workout
`workout-portuguese-context-v3.json`. Historical descriptors retain their original
source seals. Existing accepted proofs need fresh actual alignment before they
can migrate to a changed helper; the helper-successor staging command plans
exactly fifteen parent alignments and two Chinese crop transcriptions without
running inference or writing live receipts.
Portuguese counts opt in separately through
`workout-portuguese-count-semantics-v1.json`. Only the exact registered workout
cues and parents equate standalone ASCII `1`, `2`, `3` with `um`, `dois`, `três`.
Raw ASR remains unchanged. Signed, decimal, ordinal, combined and non-ASCII
number forms, missing or extra words and the start cue receive no aliases.
The same sealed comparison reaches final assessment and receipt replay;
existing speaker, prefix, duration, ending and complete decoding gates remain.
The parent instruction must pass complete blind transcription and the original
provider's speaker threshold. Actual word timestamps select one contiguous prefix;
the encoded crop must contain exactly the short phrase, stay within the existing
speech budget and remain below full scale. Its receipt retains the actual short
speaker score separately from the parent's score. The original female reference,
model, thresholds and raw transcript remain intact.
The two configured Chinese short cues use separately pinned Turbo verification
for the final crop. Their receipts record the actual model, revision, artifacts,
audio hash and full sample coverage under the context recipe. This applies only
after the complete parent/crop proof validates; ordinary Ming routes and its
public synthesis profile remain unchanged. Chinese exhale uses the existing
plank instruction as its parent, preserving the spoken short cue `呼气。`.
Accepted parent proof WAVs are copied as binary files into
`sunsalutation/voice-context/<locale>/<sha256>.wav` in the practices package, outside
the playback and voice-pack globs. The proof binds the original synthesis identity,
parent hash, word alignment, crop range and actual encoded audio. `--check` verifies
the public proof and receipt without private weights or caches; supply only
`--context-profile` alongside the normal provider selection. Fixture tests verify
the protocol; each configured real cue still needs its own successful generation
and current-receipt validation.
An explicit context candidate may use the normal four attempts when its parent
fails speech quality or its exact crop fails quality checks. Each rejection
retains the actual parent/crop reason, scores and identity, including failures
before a short clip exists. Changed model/reference/source hashes, invalid
configuration and system errors remain fatal. Ordinary provider retry behavior
is unchanged.
Before generation, validate all actual file hashes without loading a model:
```sh
PYTHON scripts/generate-lumi-guide-narration.py \
--practice astral_projection_bruce \
--ming-profile backup/narration/ming-local.json --preflight
```
Replace `PYTHON` with the existing runtime interpreter. To generate the first
English and German pilot cues, remove `--preflight` and add `--locale en --locale
de --key astral_text_foundation_01 --jobs 1`. Only the media task runs generation;
coordinate the shared runtime's resources and package-link ownership first.
After actual foundation pilots in all seven languages pass, omit `--key` and `--locale` for all seven supported
locales. Prioritize Bruce and original Astral, then `guide`, `taichi`,
`sunsalutation`, and `workout`. The same command with `--check` verifies selected
receipts offline. Male inventories reject `--ming-profile`.
Russian, Czech and Portuguese select a provider explicitly, using the Python interpreter
recorded in that provider's ignored private JSON. Their incompatible synthesis
environments remain separate; shared QA runs in its own pinned environment.
Use `f5-russian` with `backup/narration/local-models/ru-local.json`, or
`chatterbox-czech` with `backup/narration/local-models/cs-local.json`, or
`chatterbox-portuguese` with `backup/narration/local-models/pt-local.json`:
```sh
PROVIDER_PYTHON scripts/generate-lumi-guide-narration.py \
--practice astral_projection_bruce --local-provider f5-russian \
--local-voice-profile backup/narration/local-models/ru-local.json --preflight
```
Replace `PROVIDER_PYTHON` with the JSON's `python` path. Generation rejects a
different interpreter before loading models. To generate a pilot, replace
`--preflight` with `--key astral_text_foundation_01 --jobs 1`. `--check` validates
receipts without an installed runtime or private model files. A provider never
receives another provider's locale or falls back to a remote service. Existing
clips from other providers/locales remain in mixed receipts. Actual provider
pilots must pass before bulk generation; descriptor status alone is insufficient.
One process caches one Ming model and one Whisper model. Each synthesis uses
explicit `language_id`, FREEFORM calm delivery and the same nonzero female
speaker embedding. Text hashes bind the complete request, language, seed, model,
reference, runtime, adapter and output encoding. Atomic per-cue receipts resume
completed work. Ignored `backup/narration/cache/` preserves exact generated PCM
requests across interrupted QA, avoiding another synthesis of the same request.
The output remains mono Ogg Opus at the existing app paths.
Ming's dense runtime shares a 512-token cache between the input and generated
audio. The original German foundation request left only 23.28 seconds of audio
budget. `narration_segments.py` now preserves exact source spans and splits long
cues at sentences, clauses and safe whitespace, targeting 24 semantic units.
Short cues remain one request; words, decimal numbers and Unicode whitespace
are preserved. Every span uses the same original female embedding and explicit
language, with a deterministic seed. Float waveform caches resume completed
spans. Assembly concatenates their audio without overlap or added silence.
The profile and request identity bind the segmenter, plan and assembly settings.
Every actual prompt must leave at least 16 seconds of decode budget before
synthesis. Whole-cue QA remains required after assembly. Finite raw waveforms
are saved as float WAV before peak rejection; empty and nonfinite results are
rejected with numeric diagnostics. No automatic clipping or gain is applied.
Every accepted clip must be finite and unclipped, fit its speech budget, retain
the reserved Bruce quiet interval, match its complete transcript, and meet the
recorded CAMPPlus speaker-similarity bound. Sun Salutation also fits its shortest
six-second default breath with a 0.2-second margin. Whisper receives all samples
without truncation and uses its sequential timestamp-based decoder, including
cues longer than 30 seconds. QA supplies no expected-text prompt. Every local cue
also requires matching final 64- and 24-character transcript endings, using the
same locale aliases as the whole-cue comparison. This rejects the initial
23-second German pilot's missing final clause despite its 0.92958 overall score;
the complete English pilot remains accepted. Receipts bind QA to the actual encoded
audio hash and full decoded duration. Speaker similarity measures consistency;
it does not establish how a listener perceives the voice.
`python3 tests/ming_narration_test.py` tests hashes, request identity, rejected
locales, real Opus fixture encoding, quiet intervals and full long-audio routing.
Fixtures are separate from production media and do not certify real Ming speech.
`python3 tests/local_narration_pipeline_test.py` verifies separate provider
routing, wrong-interpreter rejection and full receipt identity. These local
tests use isolated fixtures. `tests/ming_segment_pipeline_test.py`, run under the
existing Ming interpreter, verifies real float WAV, PCM assembly and cache resume
without loading a model. Real seven-language Ming pilots and all selected
Russian/Czech/Portuguese pilots, all recordings and final native playback remain required
before the feature can be committed or described as complete. No partial pack
may advertise missing languages as complete.
Official references: [Ming controls](https://github.com/inclusionAI/Ming-3.0-tts/blob/main/cookbooks/instruction_en.md)
and [Whisper long-form decoding](https://huggingface.co/docs/transformers/model_doc/whisper).
+192
View File
@@ -0,0 +1,192 @@
{
"schema": 1,
"provider": "ChatterboxCzech",
"status": "ready",
"locale": "cs",
"model": "Thomcles/Chatterbox-TTS-Czech",
"model_revision": "1be084192841e27c8bdf7386326405dee08db803",
"license": "cc0-1.0",
"runtime_version": "0.1.6",
"adapter_sha256": "6f0f737eaa8646b318b2ab138c142cda7aa5bfcd705927f87297c2fd4abe1c34",
"reference_sha256": "bdef3fb0f73ef2f1f52fec3a1038eee787d19a654dab4a9c38052ac0f68f2d94",
"reference_text": "V sekci Zvuk určuje Hlasitost pokynů, jak hlasitě zní pokyny a můj hlas. Stáhni ji na nulu a povedu tě potichu.",
"reference_source": "guide/voice/cs/settings_guide_audio.ogg",
"reference_source_sha256": "c20eb098ed0e18016c8997914e82d120e79151e5a21ead468112fc15252f74fa",
"reference_voice": "Leda",
"speaker_evidence": "CAMPPlus cosine measures consistency, not perceived gender",
"transcriber": "openai/whisper-large-v3-turbo",
"asr_revision": "41f01f3fe87f28c78e2fbf8b568835947dd65ed9",
"minimum_speaker_cosine": 0.65,
"seed": 20261108,
"threads": 4,
"peak_ceiling": 0.95,
"environment": {
"mpmath": "1.3.0",
"conformer": "0.3.2",
"orjson": "3.13.0",
"markdown-it-py": "4.2.0",
"resemble-perth": "1.0.1",
"idna": "3.20",
"click": "8.5.1",
"uvicorn": "0.54.0",
"python-discovery": "1.9.5",
"audioread": "3.1.0",
"pydantic": "2.11.10",
"brotli": "1.2.1",
"regex": "2026.11.7",
"fastapi": "0.162.2",
"cfgv": "3.5.0",
"lazy-loader": "0.6",
"safetensors": "0.5.3",
"urllib3": "2.8.0",
"python-multipart": "0.0.33",
"tokenizers": "0.20.3",
"chatterbox-tts": "0.1.6",
"anyio": "4.16.0",
"llvmlite": "0.50.0",
"gradio": "5.44.1",
"rich": "15.0.0",
"Deprecated": "1.3.1",
"wrapt": "2.5.2",
"groovy": "0.1.2",
"fsspec": "2026.9.0",
"msgpack": "1.2.4",
"s3tokenizer": "0.3.0",
"pillow": "11.3.0",
"Pygments": "2.21.0",
"narwhals": "2.28.0",
"pandas": "2.3.3",
"soxr": "1.1.0",
"importlib_metadata": "10.1.0",
"tzdata": "2026.6",
"scikit-learn": "1.9.1",
"typing-inspection": "0.4.5",
"setuptools": "80.9.0",
"zipp": "4.1.2",
"transformers": "4.46.3",
"joblib": "1.6.0",
"srsly": "2.5.6",
"typing_extensions": "4.16.0",
"certifi": "2026.10.23",
"virtualenv": "21.15.6",
"filelock": "4.2.4",
"shellingham": "1.5.4",
"gradio_client": "1.12.1",
"decorator": "5.3.1",
"distlib": "0.4.4",
"scipy": "1.14.1",
"mdurl": "0.1.2",
"pytz": "2026.6",
"websockets": "15.0.1",
"pydantic_core": "2.33.2",
"diffusers": "0.29.0",
"nodeenv": "1.12.0",
"protobuf": "7.36.2",
"spacy_pkuseg": "1.0.2",
"einops": "0.8.2",
"safehttpx": "0.1.7",
"cffi": "2.1.1",
"torch": "2.6.0+cpu",
"identify": "2.6.20",
"pycparser": "3.12",
"annotated-doc": "0.0.5",
"MarkupSafe": "3.0.3",
"pre_commit": "4.7.0",
"PyYAML": "6.0.3",
"librosa": "0.11.0",
"h11": "0.16.0",
"jaconv": "0.5.0",
"omegaconf": "2.4.0",
"semantic-version": "2.10.0",
"huggingface_hub": "0.36.2",
"catalogue": "2.0.10",
"packaging": "26.3",
"numba": "0.68.1",
"numpy": "1.25.2",
"cloudpickle": "3.1.2",
"pykakasi": "2.3.0",
"opentelemetry-api": "1.45.2",
"httpcore": "1.0.9",
"ruff": "0.17.4",
"pydub": "0.25.1",
"onnx": "1.23.2",
"typer-slim": "0.24.0",
"pooch": "1.9.0",
"ml_dtypes": "0.5.4",
"networkx": "3.6.1",
"soundfile": "0.14.0",
"torchaudio": "2.6.0+cpu",
"starlette": "0.52.1",
"threadpoolctl": "3.8.0",
"python-dateutil": "4.0.0",
"tomlkit": "0.13.3",
"aiofiles": "24.1.0",
"platformdirs": "4.14.5",
"sympy": "1.13.1",
"httpx": "0.28.1",
"typer": "0.28.0",
"hf-xet": "1.8.0",
"Jinja2": "3.1.6",
"annotated-types": "0.8.0",
"requests": "2.34.2",
"charset-normalizer": "3.5.2",
"tqdm": "4.70.1",
"pyloudnorm": "0.2.0",
"ffmpy": "1.0.0"
},
"parameters": {
"exaggeration": 0.5,
"cfg_weight": 0.5,
"temperature": 0.8,
"repetition_penalty": 2.0,
"min_p": 0.05,
"top_p": 1.0
},
"artifacts": {
"chatterbox-czech/t3_cs.safetensors": "8f7cd33428bf610cce6e906ceaf6b076d9e35934f2b89a25d36a89e66f0217f3",
"chatterbox-multilingual/ve.pt": "4b16d836bc598509860f6fa068165a8bb5e9ac84f05582dfcf278a5a372879f1",
"chatterbox-multilingual/s3gen.pt": "9b9ff07e60b20c136e2b1b3d7563a24604e8d2c4c267888d1ee929dd0151d2a3",
"chatterbox-multilingual/grapheme_mtl_merged_expanded_v1.json": "69632f47220a788a52ce2661d096453c5655e9bf25289d89a8d832c46ee07dbf",
"chatterbox-multilingual/Cangjie5_TC.json": "7073fd9de919443ae88e0bd2449917a65fe54898a4413ed1edcc4b67f28bce8c"
},
"asr_command_files": {
"0": "2874a0b9344d06b7767aebb1e6e25a759ffcbdb544e99400ecc74dc6092d1174",
"1": "626c5121ae5e460310aaf8c8907d4600704d7dba530cb019aac9d3df78ee5a55"
},
"speaker_command_files": {
"0": "2874a0b9344d06b7767aebb1e6e25a759ffcbdb544e99400ecc74dc6092d1174",
"1": "626c5121ae5e460310aaf8c8907d4600704d7dba530cb019aac9d3df78ee5a55",
"5": "bdef3fb0f73ef2f1f52fec3a1038eee787d19a654dab4a9c38052ac0f68f2d94"
},
"speaker_model_sha256": "a6ac6a63997761ae2997373e2ee1c47040854b4b759ea41ec48e4e42df0f4d73",
"speaker_runtime_sha256": "6e53a812fd9620d1e3c8a6d16c38fb63624c22743c518fd30189c4015e039a3d",
"asr_artifacts": {
"model.safetensors": "542566a422ae4f3fd23f1ba11add198fca01bbf82e66e6a2857b3f608b1eb9d1",
"generation_config.json": "cce11bfe3aaa6ae9e072ea2637caaec8795e68d9b67e655a5af16ee509681a4c",
"vocab.json": "e2aa043ef015641d363d8288e7c241c85e36a5c761fb303598e0710233344387",
"merges.txt": "2df2990a395e35e8dfbc7511e08c12d56018d8d04691e0133e5d63b21e154dc6",
"special_tokens_map.json": "baea4ea09372eb4fca86b4e4346139fd73cb807d5087e9de0948e971739c3e74",
"config.json": "c5b526b3e3cd64cd8940dabb45e8ba726629e22d8ed389c29b552f9140daf04a",
"preprocessor_config.json": "7ccc62c6f2765af1f3b46c00c9b5894426835a05021c8b9c01eecb6dfb542711",
"normalizer.json": "bf1c507dc8724ca9cf9903640dacfb69dae2f00edee4f21ceba106a7392f26dd",
"tokenizer_config.json": "844b642c73a91359722f47b35705f7174686df33d252695d8572cf9ac03a6389",
"added_tokens.json": "3c51f66c4c21f9e126970078f11ae77a78c74aee8df606ee9daba86e467108e0",
"tokenizer.json": "297b13372ac43916285644fb9687add3cc62ee2a1adb60da3dc25cc94c1871fd"
},
"base_adapter_sha256": "6cfc48a1a4094d1108334c7025a78512e95cc8f4df2585ef94113d0530b6fb09",
"base_model": {
"model": "ResembleAI/chatterbox",
"revision": "5bb1f6ee58e50c3b8d408bc82a6d3740c2db6e18",
"license": "mit"
},
"language_id": "cs",
"language_token_id": 719,
"normalization": "NFKD",
"tokenizer_adaptation": "Explicit native [cs] tokenizer token; scoped upstream registry extension; local mapping; unused Chinese segmenter disabled. Untagged model-card pilot failed ASR.",
"source_files": {
"f5_russian_narration.py": "6cfc48a1a4094d1108334c7025a78512e95cc8f4df2585ef94113d0530b6fb09",
"prepare-local-voice-profile.py": "626c5121ae5e460310aaf8c8907d4600704d7dba530cb019aac9d3df78ee5a55",
"whisper_narration.py": "7229e2b42cd03771d5e257c6b4e034f976354a3277668832603d1f4e419d81c8",
"chatterbox_czech_narration.py": "6f0f737eaa8646b318b2ab138c142cda7aa5bfcd705927f87297c2fd4abe1c34"
}
}
+188
View File
@@ -0,0 +1,188 @@
{
"schema": 1,
"provider": "ChatterboxPortuguese",
"status": "ready",
"locale": "pt",
"model": "FearL0rd/Chatterbox-TTS-Portuguese",
"model_revision": "374a99cccc419f58f2f44cf84d159f2d6d39d0b7",
"license": "mit",
"runtime_version": "0.1.6",
"adapter_sha256": "309c78c4cdc0b0a453de4e4b42d89f8f544ecff0fb77ac41a9b05843aa864747",
"reference_sha256": "5553f15dc2c5f1f4822028cfd0c84f2130b3c546a77e6046e5038fb62ba5382e",
"reference_text": "Este é você. Toque na sua foto para trocá-la, e use o botão da conta para sincronizar seu progresso e mantê-lo seguro.",
"reference_source": "guide/voice/pt/profile_guide_you.ogg",
"reference_source_sha256": "5f8a2209908f75c86dfc8785c7cd1bc4660eda9884581cbcb9f1dacced2c1967",
"reference_voice": "Leda",
"speaker_evidence": "CAMPPlus cosine measures consistency, not perceived gender",
"transcriber": "openai/whisper-large-v3-turbo",
"asr_revision": "41f01f3fe87f28c78e2fbf8b568835947dd65ed9",
"minimum_speaker_cosine": 0.65,
"seed": 20261108,
"threads": 4,
"peak_ceiling": 0.95,
"environment": {
"mpmath": "1.3.0",
"conformer": "0.3.2",
"orjson": "3.13.0",
"markdown-it-py": "4.2.0",
"resemble-perth": "1.0.1",
"idna": "3.20",
"click": "8.5.1",
"uvicorn": "0.54.0",
"python-discovery": "1.9.5",
"audioread": "3.1.0",
"pydantic": "2.11.10",
"brotli": "1.2.1",
"regex": "2026.11.7",
"fastapi": "0.162.2",
"cfgv": "3.5.0",
"lazy-loader": "0.6",
"safetensors": "0.5.3",
"urllib3": "2.8.0",
"python-multipart": "0.0.33",
"tokenizers": "0.20.3",
"chatterbox-tts": "0.1.6",
"anyio": "4.16.0",
"llvmlite": "0.50.0",
"gradio": "5.44.1",
"rich": "15.0.0",
"Deprecated": "1.3.1",
"wrapt": "2.5.2",
"groovy": "0.1.2",
"fsspec": "2026.9.0",
"msgpack": "1.2.4",
"s3tokenizer": "0.3.0",
"pillow": "11.3.0",
"Pygments": "2.21.0",
"narwhals": "2.28.0",
"pandas": "2.3.3",
"soxr": "1.1.0",
"importlib_metadata": "10.1.0",
"tzdata": "2026.6",
"scikit-learn": "1.9.1",
"typing-inspection": "0.4.5",
"setuptools": "80.9.0",
"zipp": "4.1.2",
"transformers": "4.46.3",
"joblib": "1.6.0",
"srsly": "2.5.6",
"typing_extensions": "4.16.0",
"certifi": "2026.10.23",
"virtualenv": "21.15.6",
"filelock": "4.2.4",
"shellingham": "1.5.4",
"gradio_client": "1.12.1",
"decorator": "5.3.1",
"distlib": "0.4.4",
"scipy": "1.14.1",
"mdurl": "0.1.2",
"pytz": "2026.6",
"websockets": "15.0.1",
"pydantic_core": "2.33.2",
"diffusers": "0.29.0",
"nodeenv": "1.12.0",
"protobuf": "7.36.2",
"spacy_pkuseg": "1.0.2",
"einops": "0.8.2",
"safehttpx": "0.1.7",
"cffi": "2.1.1",
"torch": "2.6.0+cpu",
"identify": "2.6.20",
"pycparser": "3.12",
"annotated-doc": "0.0.5",
"MarkupSafe": "3.0.3",
"pre_commit": "4.7.0",
"PyYAML": "6.0.3",
"librosa": "0.11.0",
"h11": "0.16.0",
"jaconv": "0.5.0",
"omegaconf": "2.4.0",
"semantic-version": "2.10.0",
"huggingface_hub": "0.36.2",
"catalogue": "2.0.10",
"packaging": "26.3",
"numba": "0.68.1",
"numpy": "1.25.2",
"cloudpickle": "3.1.2",
"pykakasi": "2.3.0",
"opentelemetry-api": "1.45.2",
"httpcore": "1.0.9",
"ruff": "0.17.4",
"pydub": "0.25.1",
"onnx": "1.23.2",
"typer-slim": "0.24.0",
"pooch": "1.9.0",
"ml_dtypes": "0.5.4",
"networkx": "3.6.1",
"soundfile": "0.14.0",
"torchaudio": "2.6.0+cpu",
"starlette": "0.52.1",
"threadpoolctl": "3.8.0",
"python-dateutil": "4.0.0",
"tomlkit": "0.13.3",
"aiofiles": "24.1.0",
"platformdirs": "4.14.5",
"sympy": "1.13.1",
"httpx": "0.28.1",
"typer": "0.28.0",
"hf-xet": "1.8.0",
"Jinja2": "3.1.6",
"annotated-types": "0.8.0",
"requests": "2.34.2",
"charset-normalizer": "3.5.2",
"tqdm": "4.70.1",
"pyloudnorm": "0.2.0",
"ffmpy": "1.0.0"
},
"parameters": {
"exaggeration": 0.5,
"cfg_weight": 0.5,
"temperature": 0.8,
"repetition_penalty": 1.2,
"min_p": 0.05,
"top_p": 1.0
},
"artifacts": {
"chatterbox-portuguese/tokenizer.json": "d71e3a44eabb1784df9a68e9f95b251ecbf1a7af6a9f50835856b2ca9d8c14a5",
"chatterbox-portuguese/conds.pt": "6552d70568833628ba019c6b03459e77fe71ca197d5c560cef9411bee9d87f4e",
"chatterbox-portuguese/ve.safetensors": "f0921cab452fa278bc25cd23ffd59d36f816d7dc5181dd1bef9751a7fb61f63c",
"chatterbox-portuguese/t3_cfg.safetensors": "9cecd6ef6d5fd3aced2feeb9ed2553f803751a944fb66f04483d5127a4d36084",
"chatterbox-portuguese/s3gen.safetensors": "aeaa7890908fad1067121b8922b6d3dd6901f590fbeab419c500a4a6cda922cb"
},
"asr_command_files": {
"0": "2874a0b9344d06b7767aebb1e6e25a759ffcbdb544e99400ecc74dc6092d1174",
"1": "626c5121ae5e460310aaf8c8907d4600704d7dba530cb019aac9d3df78ee5a55"
},
"speaker_command_files": {
"0": "2874a0b9344d06b7767aebb1e6e25a759ffcbdb544e99400ecc74dc6092d1174",
"1": "626c5121ae5e460310aaf8c8907d4600704d7dba530cb019aac9d3df78ee5a55",
"5": "5553f15dc2c5f1f4822028cfd0c84f2130b3c546a77e6046e5038fb62ba5382e"
},
"speaker_model_sha256": "a6ac6a63997761ae2997373e2ee1c47040854b4b759ea41ec48e4e42df0f4d73",
"speaker_runtime_sha256": "6e53a812fd9620d1e3c8a6d16c38fb63624c22743c518fd30189c4015e039a3d",
"asr_artifacts": {
"model.safetensors": "542566a422ae4f3fd23f1ba11add198fca01bbf82e66e6a2857b3f608b1eb9d1",
"generation_config.json": "cce11bfe3aaa6ae9e072ea2637caaec8795e68d9b67e655a5af16ee509681a4c",
"vocab.json": "e2aa043ef015641d363d8288e7c241c85e36a5c761fb303598e0710233344387",
"merges.txt": "2df2990a395e35e8dfbc7511e08c12d56018d8d04691e0133e5d63b21e154dc6",
"special_tokens_map.json": "baea4ea09372eb4fca86b4e4346139fd73cb807d5087e9de0948e971739c3e74",
"config.json": "c5b526b3e3cd64cd8940dabb45e8ba726629e22d8ed389c29b552f9140daf04a",
"preprocessor_config.json": "7ccc62c6f2765af1f3b46c00c9b5894426835a05021c8b9c01eecb6dfb542711",
"normalizer.json": "bf1c507dc8724ca9cf9903640dacfb69dae2f00edee4f21ceba106a7392f26dd",
"tokenizer_config.json": "844b642c73a91359722f47b35705f7174686df33d252695d8572cf9ac03a6389",
"added_tokens.json": "3c51f66c4c21f9e126970078f11ae77a78c74aee8df606ee9daba86e467108e0",
"tokenizer.json": "297b13372ac43916285644fb9687add3cc62ee2a1adb60da3dc25cc94c1871fd"
},
"base_adapter_sha256": "6cfc48a1a4094d1108334c7025a78512e95cc8f4df2585ef94113d0530b6fb09",
"segmentation": {
"mode": "bounded-text-v1",
"maximum_characters": 160,
"pause_seconds": 0.12
},
"source_files": {
"f5_russian_narration.py": "6cfc48a1a4094d1108334c7025a78512e95cc8f4df2585ef94113d0530b6fb09",
"prepare-local-voice-profile.py": "626c5121ae5e460310aaf8c8907d4600704d7dba530cb019aac9d3df78ee5a55",
"whisper_narration.py": "7229e2b42cd03771d5e257c6b4e034f976354a3277668832603d1f4e419d81c8",
"chatterbox_portuguese_narration.py": "309c78c4cdc0b0a453de4e4b42d89f8f544ecff0fb77ac41a9b05843aa864747"
}
}
+189
View File
@@ -0,0 +1,189 @@
{
"schema": 1,
"provider": "F5Russian",
"status": "ready",
"locale": "ru",
"model": "Misha24-10/F5-TTS_RUSSIAN",
"model_revision": "ea166adeae4c80ec5ee423a671e2bdb83906cf84",
"license": "cc-by-nc-4.0",
"runtime_version": "1.1.22",
"adapter_sha256": "6cfc48a1a4094d1108334c7025a78512e95cc8f4df2585ef94113d0530b6fb09",
"reference_sha256": "f09fff4448836c5f2b606f25122ff08c556a6b2dd312b1f1642fe275d050b0fd",
"reference_text": "Это ты. Нажми на своё фото, чтобы сменить его, а кнопка аккаунта синхронизирует твой прогресс и бережёт его.",
"reference_source": "guide/voice/ru/profile_guide_you.ogg",
"reference_source_sha256": "d99e33e0eb39f5bbea092559e1c951f166d29191b82e9ddcd0e197f7d7a009db",
"reference_voice": "Leda",
"speaker_evidence": "CAMPPlus cosine measures consistency, not perceived gender",
"transcriber": "openai/whisper-small",
"asr_revision": "973afd24965f72e36ca33b3055d56a652f456b4d",
"minimum_speaker_cosine": 0.65,
"seed": 20261108,
"threads": 4,
"peak_ceiling": 0.95,
"environment": {
"GitPython": "3.2.1",
"mpmath": "1.3.0",
"idna": "3.20",
"click": "8.5.1",
"cwevals": "0.0.1b1",
"fsspec": "2025.3.0",
"f5-tts": "1.1.22",
"einx": "0.4.3",
"pyparsing": "3.3.3",
"kiwisolver": "1.5.1",
"audioread": "3.1.0",
"matplotlib": "3.11.2",
"regex": "2026.11.7",
"multidict": "7.2.1",
"lazy-loader": "0.6",
"urllib3": "2.8.0",
"tokenizers": "0.20.3",
"contourpy": "1.3.3",
"anyio": "4.16.0",
"hydra-core": "1.3.8",
"llvmlite": "0.50.0",
"vocos": "0.1.0",
"datasets": "3.6.0",
"msgpack": "1.2.4",
"narwhals": "2.28.0",
"soxr": "1.1.0",
"googleapis-common-protos": "1.76.0",
"httpcore2": "2.16.0",
"httpx2": "2.16.0",
"gitdb": "4.0.12",
"tzdata": "2026.6",
"scikit-learn": "1.9.1",
"attrs": "26.1.0",
"typing-inspection": "0.4.5",
"pillow": "13.0.0",
"transformers": "4.46.3",
"frozendict": "2.5.1",
"joblib": "1.6.0",
"x-transformers": "1.44.8",
"typing_extensions": "4.16.0",
"antlr4-python3-runtime": "4.9.3",
"certifi": "2026.10.23",
"opentelemetry-semantic-conventions": "0.66b2",
"filelock": "4.2.4",
"opentelemetry-exporter-http-transport": "0.66b2",
"aiosignal": "1.4.0",
"dill": "0.3.8",
"smmap": "5.0.3",
"decorator": "5.3.1",
"pandas": "3.0.6",
"numpy": "1.26.4",
"Unidecode": "1.4.0",
"frozenlist": "1.8.0",
"opentelemetry-exporter-otlp-common": "0.66b2",
"einops": "0.8.2",
"loguru": "0.7.3",
"multiprocess": "0.70.16",
"tensorboardX": "2.6.5",
"cffi": "2.1.1",
"truststore": "0.10.5",
"torch": "2.6.0+cpu",
"pycparser": "3.12",
"MarkupSafe": "3.0.3",
"opentelemetry-proto": "1.45.2",
"protobuf": "6.33.6",
"safetensors": "0.8.0",
"omegaconf": "2.3.1",
"PyYAML": "6.0.3",
"pydantic_core": "2.50.4",
"sentry-sdk": "2.74.0",
"opentelemetry-sdk": "1.45.2",
"librosa": "0.11.0",
"propcache": "0.5.4",
"h11": "0.16.0",
"rjieba": "0.2.2",
"distro": "1.9.0",
"accelerate": "1.11.0",
"opentelemetry-exporter-otlp-proto-common": "1.45.2",
"packaging": "26.3",
"numba": "0.68.1",
"cloudpickle": "3.1.2",
"xxhash": "4.0.2",
"opentelemetry-api": "1.45.2",
"pyarrow": "20.0.0",
"httpcore": "1.0.9",
"yarl": "1.25.1",
"pydub": "0.25.1",
"aiohappyeyeballs": "2.7.1",
"scipy": "1.17.1",
"psutil": "7.2.2",
"sniffio": "1.3.1",
"pooch": "1.9.0",
"encodec": "0.1.1",
"huggingface-hub": "0.36.0",
"networkx": "3.6.1",
"aiohttp": "3.14.5",
"soundfile": "0.14.0",
"torchdiffeq": "0.2.5",
"torchaudio": "2.6.0+cpu",
"threadpoolctl": "3.8.0",
"python-dateutil": "4.0.0",
"opentelemetry-exporter-otlp-proto-http": "1.45.2",
"platformdirs": "4.14.5",
"sympy": "1.13.1",
"wandb": "0.22.3",
"httpx": "0.28.1",
"cycler": "0.12.1",
"ema-pytorch": "0.8.3",
"hf-xet": "1.8.0",
"Jinja2": "3.1.6",
"pypinyin": "0.55.0",
"fonttools": "4.68.0",
"annotated-types": "0.8.0",
"pydantic": "2.14.3",
"requests": "2.34.2",
"charset-normalizer": "3.5.2",
"tqdm": "4.70.1"
},
"parameters": {
"nfe_step": 32,
"cfg_strength": 2.0,
"sway_sampling_coef": -1.0,
"speed": 1.0,
"target_rms": 0.1,
"cross_fade_duration": 0.15
},
"artifacts": {
"f5-russian/model.safetensors": "376c29a569c691375a4cd19b8254497204fcd2127ca7168b12cb2b78fa8f54e3",
"f5-russian/vocab.txt": "2a05f992e00af9b0bd3800a8d23e78d520dbd705284ed2eedb5f4bd29398fa3c",
"vocos-mel-24khz/config.yaml": "da9033922f969a47f0c160010226919e59f27761fd5066f3828d46de6650b0fc",
"vocos-mel-24khz/pytorch_model.bin": "97ec976ad1fd67a33ab2682d29c0ac7df85234fae875aefcc5fb215681a91b2a"
},
"asr_command_files": {
"0": "2874a0b9344d06b7767aebb1e6e25a759ffcbdb544e99400ecc74dc6092d1174",
"1": "7229e2b42cd03771d5e257c6b4e034f976354a3277668832603d1f4e419d81c8"
},
"speaker_command_files": {
"0": "2874a0b9344d06b7767aebb1e6e25a759ffcbdb544e99400ecc74dc6092d1174",
"1": "626c5121ae5e460310aaf8c8907d4600704d7dba530cb019aac9d3df78ee5a55",
"5": "f09fff4448836c5f2b606f25122ff08c556a6b2dd312b1f1642fe275d050b0fd"
},
"speaker_model_sha256": "a6ac6a63997761ae2997373e2ee1c47040854b4b759ea41ec48e4e42df0f4d73",
"speaker_runtime_sha256": "6e53a812fd9620d1e3c8a6d16c38fb63624c22743c518fd30189c4015e039a3d",
"asr_artifacts": {
"model.safetensors": "1d7734884874f1a1513ed9aa760a4f8e97aaa02fd6d93a3a85d27b2ae9ca596b",
"generation_config.json": "71565b8ef50d0bf7a1193ed4bbed195b94e70c18894d81bba2f1233dcec3ab53",
"vocab.json": "8f680bba319e01a653d2e8a5dbc17a9157179e0576e6ce74ce0c06356c6e24f9",
"merges.txt": "2df2990a395e35e8dfbc7511e08c12d56018d8d04691e0133e5d63b21e154dc6",
"special_tokens_map.json": "e67ae3a0aaa99abcd9f187138e12db1f65c16a14761c50ef10eef2c174a7a691",
"config.json": "e6a2b489da1b5aed65a8eb8d1e7466fa867ad5643a8bc138ba708bd56b2875c4",
"preprocessor_config.json": "9b5cd03a36fbb8a627c64d98a5b5b126ead95a77720723944487311f0110b666",
"normalizer.json": "bf1c507dc8724ca9cf9903640dacfb69dae2f00edee4f21ceba106a7392f26dd",
"tokenizer_config.json": "2a4c4281cf9f51ac6ccc406fdc711a087afe6530f671fa7b80953edc498275ce",
"added_tokens.json": "9715fd2243b6f06a5858b5e32950d2853f73dd5bc201aafcf76f5082a2d8acd1",
"tokenizer.json": "27fc476bfe7f17299480be2273fc0608e4d5a99aba2ab5dec5374b4482d1a566"
},
"vocoder": {
"model": "charactr/vocos-mel-24khz",
"revision": "0feb3fdd929bcd6649e0e7c5a688cf7dd012ef21"
},
"source_files": {
"f5_russian_narration.py": "6cfc48a1a4094d1108334c7025a78512e95cc8f4df2585ef94113d0530b6fb09",
"prepare-local-voice-profile.py": "626c5121ae5e460310aaf8c8907d4600704d7dba530cb019aac9d3df78ee5a55",
"whisper_narration.py": "7229e2b42cd03771d5e257c6b4e034f976354a3277668832603d1f4e419d81c8"
}
}
+329
View File
@@ -0,0 +1,329 @@
{
"schema": 1,
"model": "inclusionAI/Ming-3.0-tts-0.5B",
"model_revision": "7247f4c94a5b2e987404ed28a5cfec41b1a4ca61",
"runtime_revision": "a39b80660bdc5a4394d5e1d41af6dbfd9c443a54",
"voice": "inner-breeze-calm-female",
"reference_sha256": "ab306a969ba91d4f314a0f54b67abfdedcc22047006e0ebb0f3462929d0604c7",
"embedding_sha256": "79491b0357767fa731da2a78274ce0c663547f526e65c3d67ff73cb8f3d3d10d",
"task": "FREEFORM",
"seed": 20261108,
"minimum_speaker_cosine": 0.7,
"instruction": "Speak softly and slowly, like a calm, caring adult meditation guide. Use a natural, airy female voice, low energy and gentle pauses between phrases. Read the supplied text exactly in its language without music or extra words.",
"transcriber": "openai/whisper-small@973afd24965f72e36ca33b3055d56a652f456b4d",
"environment": {
"torch": "2.6.0+cpu",
"transformers": "4.46.3",
"numpy": "2.4.6",
"soundfile": "0.12.1"
},
"adapter_sha256": "7bdc947b99a023a27039e4d636ade4a46e42266ddecc3e731375a7bede92bb48",
"asr_adapter_sha256": "7229e2b42cd03771d5e257c6b4e034f976354a3277668832603d1f4e419d81c8",
"segmenter_sha256": "1e926fa2800d12b2c2d7cba0a72a123f86b3259df104266d4dd3739d38557843",
"segmentation": {
"version": 1,
"maximum_units": 24,
"pause_ms": 0,
"assembly": "concatenate",
"seed_rule": "base+attempt*1000003+span",
"minimum_decode_budget_seconds": 16
},
"artifacts": {
"runtime": {
"audio_tokenizer/audio_encoder.py": "e4abe68040b5b5ed49994a323a09dafbbb6c0e7c56dfa67d65711a5df68392b6",
"audio_tokenizer/configuration_audio_vae.py": "9d4f25c6a14310fc00ba3e84aaadcda8be5e8de5a67a39afda674fd54ed44702",
"audio_tokenizer/istft.py": "de1e5f569e34a5cb05d088310a78d1dba60ef4f2ed403b37b21238c188f6d252",
"audio_tokenizer/modeling_audio_vae.py": "b38a5f4854f5796fea5b7de77a3d19aa0f4af33ff599df3cbd14529c27d0e9e0",
"audio_tokenizer/rope.py": "37227967b08d631dcb89ebcf46352cea10b0537f6166a3212e59063d201e970a",
"audio_tokenizer/vae_modules.py": "8a84286e17fc8dfa95a0320d86b5e2a446b798be66309aaaeb70e2b0681cb831",
"configuration_bailingmm.py": "4583284dbcba4e07b0e3c276dcdfabe5682f9f666dd3379ff2870b584e6c3a0e",
"fm/CFM.py": "817146cde55d58ca42dc73524685e94e6dc8c77c915cf166ef436e769b82769c",
"fm/dit.py": "84683edf660888efe088254512781154c948726a4aff9c12fa158791853880f7",
"fm/flowloss.py": "4c0e1de2ee328383550ed6b3c74f47c616105ac460612e1485e27ff37c4d7e4f",
"fm/modules.py": "22463538f8d8d4a18d833a87123d69c391773845476516fe6f5674b97871f92c",
"frontend/__init__.py": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"frontend/audio_processing.py": "350fdc9e6d7a3cbc9d778b511dd37a24730f2a3e9be293e8d51b0bae17f5ad94",
"frontend/number_en.py": "306a9bb881cef03bbab6739cf05beb80b363b76021965e89499c5b65b14e5945",
"frontend/talker_tn/__init__.py": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"frontend/talker_tn/normalizer.py": "4cfb9ace57cc6ec0513064462492af228b2a30eac570b0bc836129709aba7b2d",
"frontend/talker_tn/re_utils/__init__.py": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"frontend/talker_tn/re_utils/re_base.py": "a4dc10de92962968e809cd176eab57b1270ade13345888b2c8e2ef462320e3c0",
"frontend/talker_tn/re_utils/re_char.py": "1feea80004e335a0e933f14ee4dfeaccb1471c23c26604878337dae6179a77ba",
"frontend/talker_tn/re_utils/re_date.py": "9a74e3f6d6b0f71279ff26f95ff9fb828c25056f13090c5c74dfaadd5d901d36",
"frontend/talker_tn/re_utils/re_decimal.py": "a4b46e04be43f224ab72a5c4c5e73d52a3910a97754c03a969ceb525164bcb80",
"frontend/talker_tn/re_utils/re_digit.py": "776c068038a9af221ba6bef74c981760fb3da75ea06e074af569ed65ee2ec493",
"frontend/talker_tn/re_utils/re_formula.py": "c99358d4194bf58ac618a29be6bbca21f44d8edb41109463f4b94970901f1a84",
"frontend/talker_tn/re_utils/re_frac.py": "bb03feaa73113e92fcdf3d8b21f65139b1f6cb51caa09e625acfebf8bf21f1c2",
"frontend/talker_tn/re_utils/re_ip.py": "f380da6380e17ab597112b7176087c0a64a1f760772da8096ff3fd100b368c3d",
"frontend/talker_tn/re_utils/re_measure.py": "709ab5f5abbffae5941c831d3f101b1cb32a8b27cfd6cc40c452985128a3c141",
"frontend/talker_tn/re_utils/re_money.py": "e3bca9586b2619f8e9b9b2b7ccee6309efb66b683a653d6e20bfb44dfa37974e",
"frontend/talker_tn/re_utils/re_order.py": "f4a1b4a2c261acfa30baf0a74c042b86ae69bb23ee8ab7bd1ba043268f63b718",
"frontend/talker_tn/re_utils/re_percent.py": "ee91269e7dcc6759442592a86dfa7e417e2ccca3159941e2329adb718b37f3af",
"frontend/talker_tn/re_utils/re_phone_dash.py": "b88fb8163f280d8e8eedf201b59603637c89a07fbc92317ca895acf70ee8c163",
"frontend/talker_tn/re_utils/re_punc.py": "c5f2fe4b8241dc23cd5dc82020b8c89d7e17149c3c76335589078403fd19caf4",
"frontend/talker_tn/re_utils/re_serial.py": "e9692f3858b57625e110cc0919691348860417d38f81cd26464e81b21ea0f17e",
"frontend/talker_tn/re_utils/re_sn.py": "7a9c7467593a5f282cafc245440a9c40d9e752123f7ff0ffa4ea2203577e30e6",
"frontend/talker_tn/re_utils/re_time.py": "65c0d3a48347b7698ff18cb075f049d63cbef80e0a2e42d49e73dc7291eec7ab",
"frontend/talker_tn/re_utils/re_utils.py": "7e60608a6c9836517080bdc04885348befbe79e1f442ffe53c69212b796a0c9e",
"frontend/talker_tn/re_utils/re_version.py": "e045a67a9381238b051fbf451c5bb3f6125afb60490dc7386f0433de355e1117",
"frontend/talker_tn/talker_pre_processor.py": "30a6d355966983a913bfa56ff5ca7a62a631cfc304472fd28414cbfb05c44863",
"frontend/talker_tn/talker_re.py": "999cb876f6d5cb154f139bbbd2d254983cd8f4e085e8f44745dbf8a58ee03ee7",
"frontend/talker_tn/talker_tn.py": "fa98d8c6152a65e045bf6c8033aedf8c19a0674690b01c4aa42481c703eb1564",
"frontend/talker_tn/text_rules.py": "2e7c486511be527640e34a550534821484f2bfdae50e4477a32c27b5f107c185",
"frontend/talker_tn/token_parser.py": "9ec4d8cee83e82ad876274c91e36bf1d79eda11557de0213400948f73f16bd65",
"frontend/text_processing.py": "5bc18a38d1021bb654bf1f6c700bfbf1dee9adbf8f38fd7402ccbc032d824591",
"frontend/text_segment_cut.py": "74b592eb3ec7cee6df24cb40e46f5c7e081f11475eb3e49d28f415cab6438b5c",
"frontend/toolkit.py": "df959caee12bdbfe21afad6e3dac036ef36356897cec9b579aceb49e82afb0e7",
"infer.py": "5aa53988f88d09d5f12197e06513cf4e2b9f7e625abf1d01c4e071da31cc4498",
"infer_tiny.py": "77da3274ebcd6bf87437b9484b39bba4717398dbc61942dde07136f35931b658",
"ming_tiny/CFM.py": "e42bf5f7b30b0e6196ea6e13998371e382c6bd87ef5108da7ef08f3c5ac5eb8b",
"ming_tiny/__init__.py": "2ab5e2a64de9a96e18580b40b8b59a451fd882c23a6173c81ce95f944278001e",
"ming_tiny/aggregator.py": "aab3a7b609040996961aea405f256b41df002868bfe644224c6bf1ca9fd0f90a",
"ming_tiny/api.py": "33ef10f2763bf68132990ffe42b5dd6fdb3c641ecce8e834e17770c87dd8484d",
"ming_tiny/configuration_audio_vae.py": "9d4f25c6a14310fc00ba3e84aaadcda8be5e8de5a67a39afda674fd54ed44702",
"ming_tiny/configuration_bailing_moe_v3.py": "f2c048966aec8a2f042cfeb1351f74d51a28589b409c55baae7d24e841c1f6c4",
"ming_tiny/configuration_lingv3_tts.py": "ce982431a55e09168e4ba83e073d240c250f6426342acd880b1c38f51b11ff07",
"ming_tiny/dit.py": "1b12857a0cb5913068272eec22498dbcbf49a3c94ced822e45990375c1859bc7",
"ming_tiny/flowloss.py": "9bf7af2a07398e974a4bb6540e01cbb4564814cd5f30f2354b393d38aca95d87",
"ming_tiny/fm_utils.py": "f9763eb057ccbb2c87cef42cd5f3438a832298cfdc0226cd6a5e7063184be0c8",
"ming_tiny/inference.py": "a085faa42d48041b815ad6f7b663b247bbfa1830d988ca4af36b5fa9572513f0",
"ming_tiny/istft.py": "de1e5f569e34a5cb05d088310a78d1dba60ef4f2ed403b37b21238c188f6d252",
"ming_tiny/mlp.py": "4359fc1b82e36496892772c495760aaf5961628af49205da722f8906a85782e7",
"ming_tiny/modeling_audio_vae.py": "8c3d9717f54a3e32c023d4474550e4b0a2ef7777380ca6cd71e3f5a76a731ce4",
"ming_tiny/modeling_bailing_moe_v3.py": "198ba2b9d112c0964c00524a23296d047c75e9c4371b270d5c20181c0100ff06",
"ming_tiny/modeling_lingv3_tts.py": "15ed1fb3a8131df2ee3f092e17a128399f9d5cfd8a1e31c0ff6003a33977e6c5",
"ming_tiny/modules.py": "0744fc966806916abfdfaa307e32c52ee3de1b5c53a1caea2bb0c435094601fe",
"ming_tiny/prompt_contract.py": "7efa6c7a242acc774896fd75e567a0aef5aeafd10e08405f74361732f15fd3d8",
"ming_tiny/spkemb_extractor.py": "6e53a812fd9620d1e3c8a6d16c38fb63624c22743c518fd30189c4015e039a3d",
"ming_tiny/task_protocol.py": "0728817f05314bcd06f1b10748ea62f4539b24030c170bde5348f2c7d227548a",
"ming_tiny/vae_modules.py": "c564c635c9948ea5619693d9479cc9287b606a3d36e831c7d21e3e307cc36bc8",
"ming_tts.py": "0e543f51238c2e1dd457ad48589f9538781e65282d9db91d37bd5a49a4e3f73d",
"modeling_bailingmm.py": "61f80e8fb7b82c40f48165e1a667a2812af29c67c44ee4cb24a5e8fcea7c3b7f",
"prompt_contract.py": "c0062c06d49004c13daebdccf5effee5e6d2c0059779d4c8f9dd714944c9fb46",
"sft/__init__.py": "e9d938161a9cd410709fd53b418bacad98c23267caac2b16d48b1bc5dc3610e3",
"sft/checkpoint.py": "b91675dc4f8c670d2a97b7aa4a8a53b1e12a89a20f9c75f452c3ed8f749714b7",
"sft/data.py": "e47c271cd9f6e8560e67c6e99e044828bb90a2720d627fe031adaa28b14d6448",
"sft/export.py": "abbbf07b3e15c5bc3716090af71044da87055814146ca4f560f6b02aa366d22d",
"sft/losses.py": "fc3c209f165333b606c5c9cb2f303b31b1396481cc0bd879fa1dd1550a84615c",
"sft/model.py": "47c636d977c272a470d7010dbe2f4efa69a2d2acd928aa110e074a72ff9d4067",
"sft/prepare.py": "098562824c01d24d648f05793275622adda99203c980f910df9a990793058428",
"sft/train.py": "7ce39db50c9b7ef6b7ebfbf361795d955754883c68ad6edf11955dbf2c737eb1",
"spkemb_extractor.py": "6e53a812fd9620d1e3c8a6d16c38fb63624c22743c518fd30189c4015e039a3d",
"tools/__init__.py": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"tools/convert_deploy_to_opensource.py": "d2a2002f705633876430681c3f2172fb4fa1a2219a77cd102a5630f01e76670f",
"tools/preflight.py": "9e58a0705f9d4b173e5a1d4638849b6eb04414cb55ac97377f39cf868e3ba5e9",
"tools/preflight_tiny.py": "5e9ead6deea1bae6cdbffc48f1abd7c888420146e21182c1a60f38bb4af8aca0",
"tts_tasks.py": "26a40e152cd5b84ce9c180b8286bc0cb9081eb7f0c804ee0dea54ce44bdf27c0"
},
"model": {
"added_tokens.json": "34394b1e16d7da2db16618bd43a0f970902ade0075480bcd812fe62d559ec319",
"campplus.onnx": "a6ac6a63997761ae2997373e2ee1c47040854b4b759ea41ec48e4e42df0f4d73",
"config.json": "2fb0767361b3cd3f41dc9392709fc23fe5b40a39f19d70a38d04acabe991822c",
"configuration.json": "6720b8448f6ad5b4631689a60857bdeb238053a37f6cc6a5936eb50c2a3b9296",
"merges.txt": "8831e4f1a044471340f7c0a83d7bd71306a5b867e95fd870f74d0c5308a904d5",
"model.safetensors": "45c4d78d8ad6b1d942e3da86ba035fece02de569f7b2ca7e9d121dfaf18d674c",
"special_tokens_map.json": "2c2ec51b9da5db654ac20de8310350d0c9c1a65918ae0181b80dacd2919b4fc3",
"tokenizer.json": "87d54ca3b44ea2f822ba39a0a45cb1b61644bd6606d9d3536dea75367bffb06d",
"tokenizer_config.json": "12d6162c815edef24f8606e65b60d43fe0d92b0a4e150a0db8fa01c523aaf36a",
"vocab.json": "ca10d7e9fb3ed18575dd1e277a2579c16d108e32f27439684afa0e10b1440910"
},
"asr": {
"added_tokens.json": "9715fd2243b6f06a5858b5e32950d2853f73dd5bc201aafcf76f5082a2d8acd1",
"config.json": "e6a2b489da1b5aed65a8eb8d1e7466fa867ad5643a8bc138ba708bd56b2875c4",
"generation_config.json": "71565b8ef50d0bf7a1193ed4bbed195b94e70c18894d81bba2f1233dcec3ab53",
"merges.txt": "2df2990a395e35e8dfbc7511e08c12d56018d8d04691e0133e5d63b21e154dc6",
"model.safetensors": "1d7734884874f1a1513ed9aa760a4f8e97aaa02fd6d93a3a85d27b2ae9ca596b",
"normalizer.json": "bf1c507dc8724ca9cf9903640dacfb69dae2f00edee4f21ceba106a7392f26dd",
"preprocessor_config.json": "9b5cd03a36fbb8a627c64d98a5b5b126ead95a77720723944487311f0110b666",
"special_tokens_map.json": "e67ae3a0aaa99abcd9f187138e12db1f65c16a14761c50ef10eef2c174a7a691",
"tokenizer.json": "27fc476bfe7f17299480be2273fc0608e4d5a99aba2ab5dec5374b4482d1a566",
"tokenizer_config.json": "2a4c4281cf9f51ac6ccc406fdc711a087afe6530f671fa7b80953edc498275ce",
"vocab.json": "8f680bba319e01a653d2e8a5dbc17a9157179e0576e6ce74ce0c06356c6e24f9"
}
},
"documentation": [
"https://github.com/inclusionAI/Ming-3.0-tts/blob/main/cookbooks/instruction_en.md",
"https://huggingface.co/docs/transformers/model_doc/whisper"
],
"verification": {
"mode": "per-locale-whisper-v1",
"routes": {
"en": {
"model": "openai/whisper-small",
"revision": "973afd24965f72e36ca33b3055d56a652f456b4d",
"artifacts": {
"added_tokens.json": "9715fd2243b6f06a5858b5e32950d2853f73dd5bc201aafcf76f5082a2d8acd1",
"config.json": "e6a2b489da1b5aed65a8eb8d1e7466fa867ad5643a8bc138ba708bd56b2875c4",
"generation_config.json": "71565b8ef50d0bf7a1193ed4bbed195b94e70c18894d81bba2f1233dcec3ab53",
"merges.txt": "2df2990a395e35e8dfbc7511e08c12d56018d8d04691e0133e5d63b21e154dc6",
"model.safetensors": "1d7734884874f1a1513ed9aa760a4f8e97aaa02fd6d93a3a85d27b2ae9ca596b",
"normalizer.json": "bf1c507dc8724ca9cf9903640dacfb69dae2f00edee4f21ceba106a7392f26dd",
"preprocessor_config.json": "9b5cd03a36fbb8a627c64d98a5b5b126ead95a77720723944487311f0110b666",
"special_tokens_map.json": "e67ae3a0aaa99abcd9f187138e12db1f65c16a14761c50ef10eef2c174a7a691",
"tokenizer.json": "27fc476bfe7f17299480be2273fc0608e4d5a99aba2ab5dec5374b4482d1a566",
"tokenizer_config.json": "2a4c4281cf9f51ac6ccc406fdc711a087afe6530f671fa7b80953edc498275ce",
"vocab.json": "8f680bba319e01a653d2e8a5dbc17a9157179e0576e6ce74ce0c06356c6e24f9"
}
},
"es": {
"model": "openai/whisper-small",
"revision": "973afd24965f72e36ca33b3055d56a652f456b4d",
"artifacts": {
"added_tokens.json": "9715fd2243b6f06a5858b5e32950d2853f73dd5bc201aafcf76f5082a2d8acd1",
"config.json": "e6a2b489da1b5aed65a8eb8d1e7466fa867ad5643a8bc138ba708bd56b2875c4",
"generation_config.json": "71565b8ef50d0bf7a1193ed4bbed195b94e70c18894d81bba2f1233dcec3ab53",
"merges.txt": "2df2990a395e35e8dfbc7511e08c12d56018d8d04691e0133e5d63b21e154dc6",
"model.safetensors": "1d7734884874f1a1513ed9aa760a4f8e97aaa02fd6d93a3a85d27b2ae9ca596b",
"normalizer.json": "bf1c507dc8724ca9cf9903640dacfb69dae2f00edee4f21ceba106a7392f26dd",
"preprocessor_config.json": "9b5cd03a36fbb8a627c64d98a5b5b126ead95a77720723944487311f0110b666",
"special_tokens_map.json": "e67ae3a0aaa99abcd9f187138e12db1f65c16a14761c50ef10eef2c174a7a691",
"tokenizer.json": "27fc476bfe7f17299480be2273fc0608e4d5a99aba2ab5dec5374b4482d1a566",
"tokenizer_config.json": "2a4c4281cf9f51ac6ccc406fdc711a087afe6530f671fa7b80953edc498275ce",
"vocab.json": "8f680bba319e01a653d2e8a5dbc17a9157179e0576e6ce74ce0c06356c6e24f9"
}
},
"de": {
"model": "openai/whisper-small",
"revision": "973afd24965f72e36ca33b3055d56a652f456b4d",
"artifacts": {
"added_tokens.json": "9715fd2243b6f06a5858b5e32950d2853f73dd5bc201aafcf76f5082a2d8acd1",
"config.json": "e6a2b489da1b5aed65a8eb8d1e7466fa867ad5643a8bc138ba708bd56b2875c4",
"generation_config.json": "71565b8ef50d0bf7a1193ed4bbed195b94e70c18894d81bba2f1233dcec3ab53",
"merges.txt": "2df2990a395e35e8dfbc7511e08c12d56018d8d04691e0133e5d63b21e154dc6",
"model.safetensors": "1d7734884874f1a1513ed9aa760a4f8e97aaa02fd6d93a3a85d27b2ae9ca596b",
"normalizer.json": "bf1c507dc8724ca9cf9903640dacfb69dae2f00edee4f21ceba106a7392f26dd",
"preprocessor_config.json": "9b5cd03a36fbb8a627c64d98a5b5b126ead95a77720723944487311f0110b666",
"special_tokens_map.json": "e67ae3a0aaa99abcd9f187138e12db1f65c16a14761c50ef10eef2c174a7a691",
"tokenizer.json": "27fc476bfe7f17299480be2273fc0608e4d5a99aba2ab5dec5374b4482d1a566",
"tokenizer_config.json": "2a4c4281cf9f51ac6ccc406fdc711a087afe6530f671fa7b80953edc498275ce",
"vocab.json": "8f680bba319e01a653d2e8a5dbc17a9157179e0576e6ce74ce0c06356c6e24f9"
}
},
"fr": {
"model": "openai/whisper-small",
"revision": "973afd24965f72e36ca33b3055d56a652f456b4d",
"artifacts": {
"added_tokens.json": "9715fd2243b6f06a5858b5e32950d2853f73dd5bc201aafcf76f5082a2d8acd1",
"config.json": "e6a2b489da1b5aed65a8eb8d1e7466fa867ad5643a8bc138ba708bd56b2875c4",
"generation_config.json": "71565b8ef50d0bf7a1193ed4bbed195b94e70c18894d81bba2f1233dcec3ab53",
"merges.txt": "2df2990a395e35e8dfbc7511e08c12d56018d8d04691e0133e5d63b21e154dc6",
"model.safetensors": "1d7734884874f1a1513ed9aa760a4f8e97aaa02fd6d93a3a85d27b2ae9ca596b",
"normalizer.json": "bf1c507dc8724ca9cf9903640dacfb69dae2f00edee4f21ceba106a7392f26dd",
"preprocessor_config.json": "9b5cd03a36fbb8a627c64d98a5b5b126ead95a77720723944487311f0110b666",
"special_tokens_map.json": "e67ae3a0aaa99abcd9f187138e12db1f65c16a14761c50ef10eef2c174a7a691",
"tokenizer.json": "27fc476bfe7f17299480be2273fc0608e4d5a99aba2ab5dec5374b4482d1a566",
"tokenizer_config.json": "2a4c4281cf9f51ac6ccc406fdc711a087afe6530f671fa7b80953edc498275ce",
"vocab.json": "8f680bba319e01a653d2e8a5dbc17a9157179e0576e6ce74ce0c06356c6e24f9"
}
},
"ja": {
"model": "openai/whisper-large-v3-turbo",
"revision": "41f01f3fe87f28c78e2fbf8b568835947dd65ed9",
"artifacts": {
"added_tokens.json": "3c51f66c4c21f9e126970078f11ae77a78c74aee8df606ee9daba86e467108e0",
"config.json": "c5b526b3e3cd64cd8940dabb45e8ba726629e22d8ed389c29b552f9140daf04a",
"generation_config.json": "cce11bfe3aaa6ae9e072ea2637caaec8795e68d9b67e655a5af16ee509681a4c",
"merges.txt": "2df2990a395e35e8dfbc7511e08c12d56018d8d04691e0133e5d63b21e154dc6",
"model.safetensors": "542566a422ae4f3fd23f1ba11add198fca01bbf82e66e6a2857b3f608b1eb9d1",
"normalizer.json": "bf1c507dc8724ca9cf9903640dacfb69dae2f00edee4f21ceba106a7392f26dd",
"preprocessor_config.json": "7ccc62c6f2765af1f3b46c00c9b5894426835a05021c8b9c01eecb6dfb542711",
"special_tokens_map.json": "baea4ea09372eb4fca86b4e4346139fd73cb807d5087e9de0948e971739c3e74",
"tokenizer.json": "297b13372ac43916285644fb9687add3cc62ee2a1adb60da3dc25cc94c1871fd",
"tokenizer_config.json": "844b642c73a91359722f47b35705f7174686df33d252695d8572cf9ac03a6389",
"vocab.json": "e2aa043ef015641d363d8288e7c241c85e36a5c761fb303598e0710233344387"
}
},
"ko": {
"model": "openai/whisper-large-v3-turbo",
"revision": "41f01f3fe87f28c78e2fbf8b568835947dd65ed9",
"artifacts": {
"added_tokens.json": "3c51f66c4c21f9e126970078f11ae77a78c74aee8df606ee9daba86e467108e0",
"config.json": "c5b526b3e3cd64cd8940dabb45e8ba726629e22d8ed389c29b552f9140daf04a",
"generation_config.json": "cce11bfe3aaa6ae9e072ea2637caaec8795e68d9b67e655a5af16ee509681a4c",
"merges.txt": "2df2990a395e35e8dfbc7511e08c12d56018d8d04691e0133e5d63b21e154dc6",
"model.safetensors": "542566a422ae4f3fd23f1ba11add198fca01bbf82e66e6a2857b3f608b1eb9d1",
"normalizer.json": "bf1c507dc8724ca9cf9903640dacfb69dae2f00edee4f21ceba106a7392f26dd",
"preprocessor_config.json": "7ccc62c6f2765af1f3b46c00c9b5894426835a05021c8b9c01eecb6dfb542711",
"special_tokens_map.json": "baea4ea09372eb4fca86b4e4346139fd73cb807d5087e9de0948e971739c3e74",
"tokenizer.json": "297b13372ac43916285644fb9687add3cc62ee2a1adb60da3dc25cc94c1871fd",
"tokenizer_config.json": "844b642c73a91359722f47b35705f7174686df33d252695d8572cf9ac03a6389",
"vocab.json": "e2aa043ef015641d363d8288e7c241c85e36a5c761fb303598e0710233344387"
}
},
"zh": {
"model": "openai/whisper-small",
"revision": "973afd24965f72e36ca33b3055d56a652f456b4d",
"artifacts": {
"added_tokens.json": "9715fd2243b6f06a5858b5e32950d2853f73dd5bc201aafcf76f5082a2d8acd1",
"config.json": "e6a2b489da1b5aed65a8eb8d1e7466fa867ad5643a8bc138ba708bd56b2875c4",
"generation_config.json": "71565b8ef50d0bf7a1193ed4bbed195b94e70c18894d81bba2f1233dcec3ab53",
"merges.txt": "2df2990a395e35e8dfbc7511e08c12d56018d8d04691e0133e5d63b21e154dc6",
"model.safetensors": "1d7734884874f1a1513ed9aa760a4f8e97aaa02fd6d93a3a85d27b2ae9ca596b",
"normalizer.json": "bf1c507dc8724ca9cf9903640dacfb69dae2f00edee4f21ceba106a7392f26dd",
"preprocessor_config.json": "9b5cd03a36fbb8a627c64d98a5b5b126ead95a77720723944487311f0110b666",
"special_tokens_map.json": "e67ae3a0aaa99abcd9f187138e12db1f65c16a14761c50ef10eef2c174a7a691",
"tokenizer.json": "27fc476bfe7f17299480be2273fc0608e4d5a99aba2ab5dec5374b4482d1a566",
"tokenizer_config.json": "2a4c4281cf9f51ac6ccc406fdc711a087afe6530f671fa7b80953edc498275ce",
"vocab.json": "8f680bba319e01a653d2e8a5dbc17a9157179e0576e6ce74ce0c06356c6e24f9"
}
}
},
"adapter_sha256": "839ed04cb4d69cb79476779a5259a4b3c437fd6789d017899dc23f4b5cc2b204",
"compatible": {
"en": [
{
"profile_sha256": "16b1f3ec047be6d0ada74a19b27769c2b58e48a9e5eaf8f9054194503865ad14",
"model": "openai/whisper-small",
"revision": "973afd24965f72e36ca33b3055d56a652f456b4d",
"artifacts_sha256": "965dd063661b4d8a6571691cd377cb5c2a586b986ffac02560a361983cb556dd",
"adapter_sha256": "d243e5fd3d927fb072752793bf86e46c4d97b9b0d9b6fc51f4af678e08dff139"
}
],
"es": [
{
"profile_sha256": "16b1f3ec047be6d0ada74a19b27769c2b58e48a9e5eaf8f9054194503865ad14",
"model": "openai/whisper-small",
"revision": "973afd24965f72e36ca33b3055d56a652f456b4d",
"artifacts_sha256": "965dd063661b4d8a6571691cd377cb5c2a586b986ffac02560a361983cb556dd",
"adapter_sha256": "d243e5fd3d927fb072752793bf86e46c4d97b9b0d9b6fc51f4af678e08dff139"
}
],
"de": [
{
"profile_sha256": "16b1f3ec047be6d0ada74a19b27769c2b58e48a9e5eaf8f9054194503865ad14",
"model": "openai/whisper-small",
"revision": "973afd24965f72e36ca33b3055d56a652f456b4d",
"artifacts_sha256": "965dd063661b4d8a6571691cd377cb5c2a586b986ffac02560a361983cb556dd",
"adapter_sha256": "d243e5fd3d927fb072752793bf86e46c4d97b9b0d9b6fc51f4af678e08dff139"
}
],
"fr": [
{
"profile_sha256": "16b1f3ec047be6d0ada74a19b27769c2b58e48a9e5eaf8f9054194503865ad14",
"model": "openai/whisper-small",
"revision": "973afd24965f72e36ca33b3055d56a652f456b4d",
"artifacts_sha256": "965dd063661b4d8a6571691cd377cb5c2a586b986ffac02560a361983cb556dd",
"adapter_sha256": "d243e5fd3d927fb072752793bf86e46c4d97b9b0d9b6fc51f4af678e08dff139"
}
],
"ja": [
{
"profile_sha256": "16b1f3ec047be6d0ada74a19b27769c2b58e48a9e5eaf8f9054194503865ad14",
"model": "openai/whisper-large-v3-turbo",
"revision": "41f01f3fe87f28c78e2fbf8b568835947dd65ed9",
"artifacts_sha256": "26bd917113c423f958851a575134fbf56e858929a2e90b759e4a9fe17899d9ed",
"adapter_sha256": "d243e5fd3d927fb072752793bf86e46c4d97b9b0d9b6fc51f4af678e08dff139"
}
],
"zh": [
{
"profile_sha256": "16b1f3ec047be6d0ada74a19b27769c2b58e48a9e5eaf8f9054194503865ad14",
"model": "openai/whisper-small",
"revision": "973afd24965f72e36ca33b3055d56a652f456b4d",
"artifacts_sha256": "965dd063661b4d8a6571691cd377cb5c2a586b986ffac02560a361983cb556dd",
"adapter_sha256": "d243e5fd3d927fb072752793bf86e46c4d97b9b0d9b6fc51f4af678e08dff139"
}
]
}
}
}
+602
View File
@@ -0,0 +1,602 @@
{
"schema": 1,
"female_cues_per_locale": 496,
"ming_languages": [
"en",
"es",
"de",
"fr",
"ja",
"ko",
"zh"
],
"ming_female_total": 3472,
"unsupported_languages": [
"cs",
"pt",
"ru"
],
"practices": [
{
"practice": "guide",
"cues": 32,
"incumbent_voice": "Leda",
"incumbent_model": "google/gemini-3.8-flash-tts",
"speech_seconds": {
"min": 40.0,
"max": 40.0
},
"languages": {
"en": {
"expected": 32,
"present": 32,
"current": 32,
"ming": 0
},
"es": {
"expected": 32,
"present": 32,
"current": 32,
"ming": 0
},
"cs": {
"expected": 32,
"present": 32,
"current": 32,
"ming": 0
},
"de": {
"expected": 32,
"present": 32,
"current": 32,
"ming": 0
},
"fr": {
"expected": 32,
"present": 32,
"current": 32,
"ming": 0
},
"pt": {
"expected": 32,
"present": 32,
"current": 32,
"ming": 0
},
"ru": {
"expected": 32,
"present": 32,
"current": 32,
"ming": 0
},
"ja": {
"expected": 32,
"present": 32,
"current": 32,
"ming": 0
},
"ko": {
"expected": 32,
"present": 32,
"current": 32,
"ming": 0
},
"zh": {
"expected": 32,
"present": 32,
"current": 32,
"ming": 0
}
}
},
{
"practice": "taichi",
"cues": 307,
"incumbent_voice": "Leda",
"incumbent_model": "google/gemini-3.8-flash-tts",
"speech_seconds": {
"min": 40.0,
"max": 40.0
},
"languages": {
"en": {
"expected": 307,
"present": 307,
"current": 307,
"ming": 0
},
"es": {
"expected": 307,
"present": 307,
"current": 307,
"ming": 0
},
"cs": {
"expected": 307,
"present": 307,
"current": 307,
"ming": 0
},
"de": {
"expected": 307,
"present": 307,
"current": 307,
"ming": 0
},
"fr": {
"expected": 307,
"present": 307,
"current": 307,
"ming": 0
},
"pt": {
"expected": 307,
"present": 307,
"current": 307,
"ming": 0
},
"ru": {
"expected": 307,
"present": 307,
"current": 307,
"ming": 0
},
"ja": {
"expected": 307,
"present": 307,
"current": 307,
"ming": 0
},
"ko": {
"expected": 307,
"present": 307,
"current": 307,
"ming": 0
},
"zh": {
"expected": 307,
"present": 307,
"current": 307,
"ming": 0
}
}
},
{
"practice": "taichi_male",
"cues": 307,
"incumbent_voice": "Algieba",
"incumbent_model": "google/gemini-3.8-flash-tts",
"speech_seconds": {
"min": 40.0,
"max": 40.0
},
"languages": {
"en": {
"expected": 307,
"present": 307,
"current": 307,
"ming": 0
},
"es": {
"expected": 307,
"present": 307,
"current": 307,
"ming": 0
},
"cs": {
"expected": 307,
"present": 307,
"current": 307,
"ming": 0
},
"de": {
"expected": 307,
"present": 307,
"current": 307,
"ming": 0
},
"fr": {
"expected": 307,
"present": 307,
"current": 307,
"ming": 0
},
"pt": {
"expected": 307,
"present": 307,
"current": 307,
"ming": 0
},
"ru": {
"expected": 307,
"present": 307,
"current": 307,
"ming": 0
},
"ja": {
"expected": 307,
"present": 307,
"current": 307,
"ming": 0
},
"ko": {
"expected": 307,
"present": 307,
"current": 307,
"ming": 0
},
"zh": {
"expected": 307,
"present": 307,
"current": 307,
"ming": 0
}
}
},
{
"practice": "sunsalutation",
"cues": 20,
"incumbent_voice": "Leda",
"incumbent_model": "google/gemini-3.8-flash-tts",
"speech_seconds": {
"min": 5.8,
"max": 5.8
},
"languages": {
"en": {
"expected": 20,
"present": 20,
"current": 20,
"ming": 0
},
"es": {
"expected": 20,
"present": 20,
"current": 20,
"ming": 0
},
"cs": {
"expected": 20,
"present": 20,
"current": 20,
"ming": 0
},
"de": {
"expected": 20,
"present": 20,
"current": 20,
"ming": 0
},
"fr": {
"expected": 20,
"present": 20,
"current": 20,
"ming": 0
},
"pt": {
"expected": 20,
"present": 20,
"current": 20,
"ming": 0
},
"ru": {
"expected": 20,
"present": 20,
"current": 20,
"ming": 0
},
"ja": {
"expected": 20,
"present": 20,
"current": 20,
"ming": 0
},
"ko": {
"expected": 20,
"present": 20,
"current": 20,
"ming": 0
},
"zh": {
"expected": 20,
"present": 20,
"current": 20,
"ming": 0
}
}
},
{
"practice": "sunsalutation_male",
"cues": 20,
"incumbent_voice": "Algieba",
"incumbent_model": "google/gemini-3.8-flash-tts",
"speech_seconds": {
"min": 40.0,
"max": 40.0
},
"languages": {
"en": {
"expected": 20,
"present": 20,
"current": 20,
"ming": 0
},
"es": {
"expected": 20,
"present": 20,
"current": 20,
"ming": 0
},
"cs": {
"expected": 20,
"present": 20,
"current": 20,
"ming": 0
},
"de": {
"expected": 20,
"present": 20,
"current": 20,
"ming": 0
},
"fr": {
"expected": 20,
"present": 20,
"current": 20,
"ming": 0
},
"pt": {
"expected": 20,
"present": 20,
"current": 20,
"ming": 0
},
"ru": {
"expected": 20,
"present": 20,
"current": 20,
"ming": 0
},
"ja": {
"expected": 20,
"present": 20,
"current": 20,
"ming": 0
},
"ko": {
"expected": 20,
"present": 20,
"current": 20,
"ming": 0
},
"zh": {
"expected": 20,
"present": 20,
"current": 20,
"ming": 0
}
}
},
{
"practice": "astral_projection",
"cues": 20,
"incumbent_voice": "Leda",
"incumbent_model": "google/gemini-3.8-flash-tts",
"speech_seconds": {
"min": 40.0,
"max": 40.0
},
"languages": {
"en": {
"expected": 20,
"present": 20,
"current": 20,
"ming": 0
},
"es": {
"expected": 20,
"present": 0,
"current": 0,
"ming": 0
},
"cs": {
"expected": 20,
"present": 0,
"current": 0,
"ming": 0
},
"de": {
"expected": 20,
"present": 0,
"current": 0,
"ming": 0
},
"fr": {
"expected": 20,
"present": 0,
"current": 0,
"ming": 0
},
"pt": {
"expected": 20,
"present": 0,
"current": 0,
"ming": 0
},
"ru": {
"expected": 20,
"present": 0,
"current": 0,
"ming": 0
},
"ja": {
"expected": 20,
"present": 0,
"current": 0,
"ming": 0
},
"ko": {
"expected": 20,
"present": 0,
"current": 0,
"ming": 0
},
"zh": {
"expected": 20,
"present": 0,
"current": 0,
"ming": 0
}
}
},
{
"practice": "workout",
"cues": 29,
"incumbent_voice": "Leda",
"incumbent_model": "google/gemini-3.8-flash-tts",
"speech_seconds": {
"min": 40.0,
"max": 40.0
},
"languages": {
"en": {
"expected": 29,
"present": 29,
"current": 29,
"ming": 0
},
"es": {
"expected": 29,
"present": 0,
"current": 0,
"ming": 0
},
"cs": {
"expected": 29,
"present": 0,
"current": 0,
"ming": 0
},
"de": {
"expected": 29,
"present": 0,
"current": 0,
"ming": 0
},
"fr": {
"expected": 29,
"present": 0,
"current": 0,
"ming": 0
},
"pt": {
"expected": 29,
"present": 0,
"current": 0,
"ming": 0
},
"ru": {
"expected": 29,
"present": 0,
"current": 0,
"ming": 0
},
"ja": {
"expected": 29,
"present": 0,
"current": 0,
"ming": 0
},
"ko": {
"expected": 29,
"present": 0,
"current": 0,
"ming": 0
},
"zh": {
"expected": 29,
"present": 0,
"current": 0,
"ming": 0
}
}
},
{
"practice": "astral_projection_bruce",
"cues": 88,
"incumbent_voice": "Leda",
"incumbent_model": "google/gemini-3.8-flash-tts",
"speech_seconds": {
"min": 35,
"max": 50
},
"languages": {
"en": {
"expected": 88,
"present": 1,
"current": 0,
"ming": 1
},
"es": {
"expected": 88,
"present": 0,
"current": 0,
"ming": 0
},
"cs": {
"expected": 88,
"present": 0,
"current": 0,
"ming": 0
},
"de": {
"expected": 88,
"present": 1,
"current": 0,
"ming": 1
},
"fr": {
"expected": 88,
"present": 0,
"current": 0,
"ming": 0
},
"pt": {
"expected": 88,
"present": 0,
"current": 0,
"ming": 0
},
"ru": {
"expected": 88,
"present": 0,
"current": 0,
"ming": 0
},
"ja": {
"expected": 88,
"present": 0,
"current": 0,
"ming": 0
},
"ko": {
"expected": 88,
"present": 0,
"current": 0,
"ming": 0
},
"zh": {
"expected": 88,
"present": 0,
"current": 0,
"ming": 0
}
}
}
],
"timer_practices_without_narration": [
"whm",
"meditation",
"patterns"
]
}
@@ -0,0 +1,203 @@
{
"version": "contiguous-prefix-v1",
"helper_sha256": "fcf1d55218627c04fbe787d1b66987d4f7f34e7261822f02e8cc8b2beef47c1f",
"verifier_sha256": "c07d404a3a0cd865b2a2ce6fbbc4c0e97c26b39e708afb3d680ad583dd336b38",
"voice_directory": "sunsalutation/voice",
"asr_model": "openai/whisper-large-v3-turbo",
"asr_revision": "41f01f3fe87f28c78e2fbf8b568835947dd65ed9",
"asr_artifacts": {
"model.safetensors": "542566a422ae4f3fd23f1ba11add198fca01bbf82e66e6a2857b3f608b1eb9d1",
"generation_config.json": "cce11bfe3aaa6ae9e072ea2637caaec8795e68d9b67e655a5af16ee509681a4c",
"vocab.json": "e2aa043ef015641d363d8288e7c241c85e36a5c761fb303598e0710233344387",
"merges.txt": "2df2990a395e35e8dfbc7511e08c12d56018d8d04691e0133e5d63b21e154dc6",
"special_tokens_map.json": "baea4ea09372eb4fca86b4e4346139fd73cb807d5087e9de0948e971739c3e74",
"config.json": "c5b526b3e3cd64cd8940dabb45e8ba726629e22d8ed389c29b552f9140daf04a",
"preprocessor_config.json": "7ccc62c6f2765af1f3b46c00c9b5894426835a05021c8b9c01eecb6dfb542711",
"normalizer.json": "bf1c507dc8724ca9cf9903640dacfb69dae2f00edee4f21ceba106a7392f26dd",
"tokenizer_config.json": "844b642c73a91359722f47b35705f7174686df33d252695d8572cf9ac03a6389",
"added_tokens.json": "3c51f66c4c21f9e126970078f11ae77a78c74aee8df606ee9daba86e467108e0",
"tokenizer.json": "297b13372ac43916285644fb9687add3cc62ee2a1adb60da3dc25cc94c1871fd"
},
"rules": [
{
"locale": "pt",
"text": "Inspire.",
"parent_text": "Inspire e leve a perna direita para trás, joelho no chão.",
"parent_source": {
"file": "design/sun-salutation/narration/text-female/pt.txt",
"key": "sun_salutation_voice_lunge_right",
"sha256": "219a9bef870ed737e19297f5adfe7348db9056f1f2d2bb9e9c767b2925fbddfd"
},
"maximum_parent_seconds": 5.8,
"minimum_parent_match": 0.92
},
{
"locale": "pt",
"text": "Solte o ar.",
"parent_text": "Solte o ar e leve o quadril para cima e para trás.",
"parent_source": {
"file": "design/sun-salutation/narration/text-female/pt.txt",
"key": "sun_salutation_voice_downward_dog",
"sha256": "219a9bef870ed737e19297f5adfe7348db9056f1f2d2bb9e9c767b2925fbddfd"
},
"maximum_parent_seconds": 5.8,
"minimum_parent_match": 0.92
},
{
"locale": "cs",
"text": "Nadechněte se.",
"parent_text": "Nadechněte se, pravou nohu dejte dozadu a koleno na zem.",
"parent_source": {
"file": "design/sun-salutation/narration/text/cs.txt",
"key": "sun_salutation_voice_lunge_right",
"sha256": "0288bab990930ef8b1fd006eea867b962f4413e7653f0a4c5c2d67b73df0df07"
},
"maximum_parent_seconds": 5.8,
"minimum_parent_match": 0.92
},
{
"locale": "cs",
"text": "Vydechněte.",
"parent_text": "Vydechněte a předkloňte se.",
"parent_source": {
"file": "design/sun-salutation/narration/text/cs.txt",
"key": "sun_salutation_voice_fold",
"sha256": "0288bab990930ef8b1fd006eea867b962f4413e7653f0a4c5c2d67b73df0df07"
},
"maximum_parent_seconds": 5.8,
"minimum_parent_match": 0.92,
"prefix_alignment": "retain-leading-pcm0-v1"
},
{
"locale": "ru",
"text": "Вдохните.",
"parent_text": "Вдохните и отведите правую ногу назад, колено на пол.",
"parent_source": {
"file": "design/sun-salutation/narration/text/ru.txt",
"key": "sun_salutation_voice_lunge_right",
"sha256": "00441e146682a29544da97b6c4e7d25b1cc1d94ff1d7c470f75e52d21da8a4b0"
},
"maximum_parent_seconds": 5.8,
"minimum_parent_match": 0.92,
"prefix_alignment": "retain-leading-pcm0-v1"
},
{
"locale": "ru",
"text": "Выдохните.",
"parent_text": "Выдохните и наклонитесь вперёд.",
"parent_source": {
"file": "design/sun-salutation/narration/text/ru.txt",
"key": "sun_salutation_voice_fold",
"sha256": "00441e146682a29544da97b6c4e7d25b1cc1d94ff1d7c470f75e52d21da8a4b0"
},
"maximum_parent_seconds": 5.8,
"minimum_parent_match": 0.92
},
{
"locale": "es",
"text": "Inhala.",
"parent_text": "Inhala y lleva la pierna derecha atrás, rodilla al suelo.",
"parent_source": {
"file": "design/sun-salutation/narration/text/es.txt",
"key": "sun_salutation_voice_lunge_right",
"sha256": "05771535de8807a538f1c876271cebf1d6ca29adf20f04500bfffd9657dec54c"
},
"maximum_parent_seconds": 5.8,
"minimum_parent_match": 0.92
},
{
"locale": "es",
"text": "Exhala.",
"parent_text": "Exhala y lleva la cadera arriba y atrás.",
"parent_source": {
"file": "design/sun-salutation/narration/text/es.txt",
"key": "sun_salutation_voice_downward_dog",
"sha256": "05771535de8807a538f1c876271cebf1d6ca29adf20f04500bfffd9657dec54c"
},
"maximum_parent_seconds": 5.8,
"minimum_parent_match": 0.92
},
{
"locale": "fr",
"text": "Inspirez.",
"parent_text": "Inspirez et reculez la jambe droite, genou au sol.",
"parent_source": {
"file": "design/sun-salutation/narration/text/fr.txt",
"key": "sun_salutation_voice_lunge_right",
"sha256": "235b162b08b02690da6609f09b881771c9513fbe4ca7be518b04222aeb0bbc5b"
},
"maximum_parent_seconds": 5.8,
"minimum_parent_match": 0.92
},
{
"locale": "fr",
"text": "Expirez.",
"parent_text": "Expirez et penchez-vous en avant.",
"parent_source": {
"file": "design/sun-salutation/narration/text/fr.txt",
"key": "sun_salutation_voice_fold",
"sha256": "235b162b08b02690da6609f09b881771c9513fbe4ca7be518b04222aeb0bbc5b"
},
"maximum_parent_seconds": 5.8,
"minimum_parent_match": 0.92
},
{
"locale": "zh",
"text": "吸气。",
"parent_text": "吸气,右腿向后迈,膝盖落地。",
"parent_source": {
"file": "design/sun-salutation/narration/text/zh.txt",
"key": "sun_salutation_voice_lunge_right",
"sha256": "59158ff620073eeb21b5dce982151c10431727cbd1a90b23e9545a5e5a47037d"
},
"maximum_parent_seconds": 5.8,
"minimum_parent_match": 0.92,
"crop_asr": {
"model": "openai/whisper-large-v3-turbo",
"revision": "41f01f3fe87f28c78e2fbf8b568835947dd65ed9",
"artifacts": {
"model.safetensors": "542566a422ae4f3fd23f1ba11add198fca01bbf82e66e6a2857b3f608b1eb9d1",
"generation_config.json": "cce11bfe3aaa6ae9e072ea2637caaec8795e68d9b67e655a5af16ee509681a4c",
"vocab.json": "e2aa043ef015641d363d8288e7c241c85e36a5c761fb303598e0710233344387",
"merges.txt": "2df2990a395e35e8dfbc7511e08c12d56018d8d04691e0133e5d63b21e154dc6",
"special_tokens_map.json": "baea4ea09372eb4fca86b4e4346139fd73cb807d5087e9de0948e971739c3e74",
"config.json": "c5b526b3e3cd64cd8940dabb45e8ba726629e22d8ed389c29b552f9140daf04a",
"preprocessor_config.json": "7ccc62c6f2765af1f3b46c00c9b5894426835a05021c8b9c01eecb6dfb542711",
"normalizer.json": "bf1c507dc8724ca9cf9903640dacfb69dae2f00edee4f21ceba106a7392f26dd",
"tokenizer_config.json": "844b642c73a91359722f47b35705f7174686df33d252695d8572cf9ac03a6389",
"added_tokens.json": "3c51f66c4c21f9e126970078f11ae77a78c74aee8df606ee9daba86e467108e0",
"tokenizer.json": "297b13372ac43916285644fb9687add3cc62ee2a1adb60da3dc25cc94c1871fd"
}
}
},
{
"locale": "zh",
"text": "呼气。",
"parent_text": "呼气,双脚后退成平板式。",
"parent_source": {
"file": "design/sun-salutation/narration/text/zh.txt",
"key": "sun_salutation_voice_plank",
"sha256": "59158ff620073eeb21b5dce982151c10431727cbd1a90b23e9545a5e5a47037d"
},
"maximum_parent_seconds": 5.8,
"minimum_parent_match": 0.92,
"crop_asr": {
"model": "openai/whisper-large-v3-turbo",
"revision": "41f01f3fe87f28c78e2fbf8b568835947dd65ed9",
"artifacts": {
"model.safetensors": "542566a422ae4f3fd23f1ba11add198fca01bbf82e66e6a2857b3f608b1eb9d1",
"generation_config.json": "cce11bfe3aaa6ae9e072ea2637caaec8795e68d9b67e655a5af16ee509681a4c",
"vocab.json": "e2aa043ef015641d363d8288e7c241c85e36a5c761fb303598e0710233344387",
"merges.txt": "2df2990a395e35e8dfbc7511e08c12d56018d8d04691e0133e5d63b21e154dc6",
"special_tokens_map.json": "baea4ea09372eb4fca86b4e4346139fd73cb807d5087e9de0948e971739c3e74",
"config.json": "c5b526b3e3cd64cd8940dabb45e8ba726629e22d8ed389c29b552f9140daf04a",
"preprocessor_config.json": "7ccc62c6f2765af1f3b46c00c9b5894426835a05021c8b9c01eecb6dfb542711",
"normalizer.json": "bf1c507dc8724ca9cf9903640dacfb69dae2f00edee4f21ceba106a7392f26dd",
"tokenizer_config.json": "844b642c73a91359722f47b35705f7174686df33d252695d8572cf9ac03a6389",
"added_tokens.json": "3c51f66c4c21f9e126970078f11ae77a78c74aee8df606ee9daba86e467108e0",
"tokenizer.json": "297b13372ac43916285644fb9687add3cc62ee2a1adb60da3dc25cc94c1871fd"
}
}
}
]
}
@@ -0,0 +1,203 @@
{
"version": "contiguous-prefix-v1",
"helper_sha256": "fcf1d55218627c04fbe787d1b66987d4f7f34e7261822f02e8cc8b2beef47c1f",
"verifier_sha256": "a89de167b6f76b428437c22116a0647dd85a3cdb6e8ac58c01e1af5d754fa02f",
"voice_directory": "sunsalutation/voice",
"asr_model": "openai/whisper-large-v3-turbo",
"asr_revision": "41f01f3fe87f28c78e2fbf8b568835947dd65ed9",
"asr_artifacts": {
"model.safetensors": "542566a422ae4f3fd23f1ba11add198fca01bbf82e66e6a2857b3f608b1eb9d1",
"generation_config.json": "cce11bfe3aaa6ae9e072ea2637caaec8795e68d9b67e655a5af16ee509681a4c",
"vocab.json": "e2aa043ef015641d363d8288e7c241c85e36a5c761fb303598e0710233344387",
"merges.txt": "2df2990a395e35e8dfbc7511e08c12d56018d8d04691e0133e5d63b21e154dc6",
"special_tokens_map.json": "baea4ea09372eb4fca86b4e4346139fd73cb807d5087e9de0948e971739c3e74",
"config.json": "c5b526b3e3cd64cd8940dabb45e8ba726629e22d8ed389c29b552f9140daf04a",
"preprocessor_config.json": "7ccc62c6f2765af1f3b46c00c9b5894426835a05021c8b9c01eecb6dfb542711",
"normalizer.json": "bf1c507dc8724ca9cf9903640dacfb69dae2f00edee4f21ceba106a7392f26dd",
"tokenizer_config.json": "844b642c73a91359722f47b35705f7174686df33d252695d8572cf9ac03a6389",
"added_tokens.json": "3c51f66c4c21f9e126970078f11ae77a78c74aee8df606ee9daba86e467108e0",
"tokenizer.json": "297b13372ac43916285644fb9687add3cc62ee2a1adb60da3dc25cc94c1871fd"
},
"rules": [
{
"locale": "pt",
"text": "Inspire.",
"parent_text": "Inspire e leve a perna direita para trás, joelho no chão.",
"parent_source": {
"file": "design/sun-salutation/narration/text-female/pt.txt",
"key": "sun_salutation_voice_lunge_right",
"sha256": "219a9bef870ed737e19297f5adfe7348db9056f1f2d2bb9e9c767b2925fbddfd"
},
"maximum_parent_seconds": 5.8,
"minimum_parent_match": 0.92
},
{
"locale": "pt",
"text": "Solte o ar.",
"parent_text": "Solte o ar e leve o quadril para cima e para trás.",
"parent_source": {
"file": "design/sun-salutation/narration/text-female/pt.txt",
"key": "sun_salutation_voice_downward_dog",
"sha256": "219a9bef870ed737e19297f5adfe7348db9056f1f2d2bb9e9c767b2925fbddfd"
},
"maximum_parent_seconds": 5.8,
"minimum_parent_match": 0.92
},
{
"locale": "cs",
"text": "Nadechněte se.",
"parent_text": "Nadechněte se, pravou nohu dejte dozadu a koleno na zem.",
"parent_source": {
"file": "design/sun-salutation/narration/text/cs.txt",
"key": "sun_salutation_voice_lunge_right",
"sha256": "0288bab990930ef8b1fd006eea867b962f4413e7653f0a4c5c2d67b73df0df07"
},
"maximum_parent_seconds": 5.8,
"minimum_parent_match": 0.92
},
{
"locale": "cs",
"text": "Vydechněte.",
"parent_text": "Vydechněte a předkloňte se.",
"parent_source": {
"file": "design/sun-salutation/narration/text/cs.txt",
"key": "sun_salutation_voice_fold",
"sha256": "0288bab990930ef8b1fd006eea867b962f4413e7653f0a4c5c2d67b73df0df07"
},
"maximum_parent_seconds": 5.8,
"minimum_parent_match": 0.92,
"prefix_alignment": "retain-leading-pcm0-v1"
},
{
"locale": "ru",
"text": "Вдохните.",
"parent_text": "Вдохните и отведите правую ногу назад, колено на пол.",
"parent_source": {
"file": "design/sun-salutation/narration/text/ru.txt",
"key": "sun_salutation_voice_lunge_right",
"sha256": "00441e146682a29544da97b6c4e7d25b1cc1d94ff1d7c470f75e52d21da8a4b0"
},
"maximum_parent_seconds": 5.8,
"minimum_parent_match": 0.92,
"prefix_alignment": "retain-leading-pcm0-v1"
},
{
"locale": "ru",
"text": "Выдохните.",
"parent_text": "Выдохните и наклонитесь вперёд.",
"parent_source": {
"file": "design/sun-salutation/narration/text/ru.txt",
"key": "sun_salutation_voice_fold",
"sha256": "00441e146682a29544da97b6c4e7d25b1cc1d94ff1d7c470f75e52d21da8a4b0"
},
"maximum_parent_seconds": 5.8,
"minimum_parent_match": 0.92
},
{
"locale": "es",
"text": "Inhala.",
"parent_text": "Inhala y lleva la pierna derecha atrás, rodilla al suelo.",
"parent_source": {
"file": "design/sun-salutation/narration/text/es.txt",
"key": "sun_salutation_voice_lunge_right",
"sha256": "05771535de8807a538f1c876271cebf1d6ca29adf20f04500bfffd9657dec54c"
},
"maximum_parent_seconds": 5.8,
"minimum_parent_match": 0.92
},
{
"locale": "es",
"text": "Exhala.",
"parent_text": "Exhala y lleva la cadera arriba y atrás.",
"parent_source": {
"file": "design/sun-salutation/narration/text/es.txt",
"key": "sun_salutation_voice_downward_dog",
"sha256": "05771535de8807a538f1c876271cebf1d6ca29adf20f04500bfffd9657dec54c"
},
"maximum_parent_seconds": 5.8,
"minimum_parent_match": 0.92
},
{
"locale": "fr",
"text": "Inspirez.",
"parent_text": "Inspirez et reculez la jambe droite, genou au sol.",
"parent_source": {
"file": "design/sun-salutation/narration/text/fr.txt",
"key": "sun_salutation_voice_lunge_right",
"sha256": "235b162b08b02690da6609f09b881771c9513fbe4ca7be518b04222aeb0bbc5b"
},
"maximum_parent_seconds": 5.8,
"minimum_parent_match": 0.92
},
{
"locale": "fr",
"text": "Expirez.",
"parent_text": "Expirez et penchez-vous en avant.",
"parent_source": {
"file": "design/sun-salutation/narration/text/fr.txt",
"key": "sun_salutation_voice_fold",
"sha256": "235b162b08b02690da6609f09b881771c9513fbe4ca7be518b04222aeb0bbc5b"
},
"maximum_parent_seconds": 5.8,
"minimum_parent_match": 0.92
},
{
"locale": "zh",
"text": "吸气。",
"parent_text": "吸气,右腿向后迈,膝盖落地。",
"parent_source": {
"file": "design/sun-salutation/narration/text/zh.txt",
"key": "sun_salutation_voice_lunge_right",
"sha256": "59158ff620073eeb21b5dce982151c10431727cbd1a90b23e9545a5e5a47037d"
},
"maximum_parent_seconds": 5.8,
"minimum_parent_match": 0.92,
"crop_asr": {
"model": "openai/whisper-large-v3-turbo",
"revision": "41f01f3fe87f28c78e2fbf8b568835947dd65ed9",
"artifacts": {
"model.safetensors": "542566a422ae4f3fd23f1ba11add198fca01bbf82e66e6a2857b3f608b1eb9d1",
"generation_config.json": "cce11bfe3aaa6ae9e072ea2637caaec8795e68d9b67e655a5af16ee509681a4c",
"vocab.json": "e2aa043ef015641d363d8288e7c241c85e36a5c761fb303598e0710233344387",
"merges.txt": "2df2990a395e35e8dfbc7511e08c12d56018d8d04691e0133e5d63b21e154dc6",
"special_tokens_map.json": "baea4ea09372eb4fca86b4e4346139fd73cb807d5087e9de0948e971739c3e74",
"config.json": "c5b526b3e3cd64cd8940dabb45e8ba726629e22d8ed389c29b552f9140daf04a",
"preprocessor_config.json": "7ccc62c6f2765af1f3b46c00c9b5894426835a05021c8b9c01eecb6dfb542711",
"normalizer.json": "bf1c507dc8724ca9cf9903640dacfb69dae2f00edee4f21ceba106a7392f26dd",
"tokenizer_config.json": "844b642c73a91359722f47b35705f7174686df33d252695d8572cf9ac03a6389",
"added_tokens.json": "3c51f66c4c21f9e126970078f11ae77a78c74aee8df606ee9daba86e467108e0",
"tokenizer.json": "297b13372ac43916285644fb9687add3cc62ee2a1adb60da3dc25cc94c1871fd"
}
}
},
{
"locale": "zh",
"text": "呼气。",
"parent_text": "呼气,双脚后退成平板式。",
"parent_source": {
"file": "design/sun-salutation/narration/text/zh.txt",
"key": "sun_salutation_voice_plank",
"sha256": "59158ff620073eeb21b5dce982151c10431727cbd1a90b23e9545a5e5a47037d"
},
"maximum_parent_seconds": 5.8,
"minimum_parent_match": 0.92,
"crop_asr": {
"model": "openai/whisper-large-v3-turbo",
"revision": "41f01f3fe87f28c78e2fbf8b568835947dd65ed9",
"artifacts": {
"model.safetensors": "542566a422ae4f3fd23f1ba11add198fca01bbf82e66e6a2857b3f608b1eb9d1",
"generation_config.json": "cce11bfe3aaa6ae9e072ea2637caaec8795e68d9b67e655a5af16ee509681a4c",
"vocab.json": "e2aa043ef015641d363d8288e7c241c85e36a5c761fb303598e0710233344387",
"merges.txt": "2df2990a395e35e8dfbc7511e08c12d56018d8d04691e0133e5d63b21e154dc6",
"special_tokens_map.json": "baea4ea09372eb4fca86b4e4346139fd73cb807d5087e9de0948e971739c3e74",
"config.json": "c5b526b3e3cd64cd8940dabb45e8ba726629e22d8ed389c29b552f9140daf04a",
"preprocessor_config.json": "7ccc62c6f2765af1f3b46c00c9b5894426835a05021c8b9c01eecb6dfb542711",
"normalizer.json": "bf1c507dc8724ca9cf9903640dacfb69dae2f00edee4f21ceba106a7392f26dd",
"tokenizer_config.json": "844b642c73a91359722f47b35705f7174686df33d252695d8572cf9ac03a6389",
"added_tokens.json": "3c51f66c4c21f9e126970078f11ae77a78c74aee8df606ee9daba86e467108e0",
"tokenizer.json": "297b13372ac43916285644fb9687add3cc62ee2a1adb60da3dc25cc94c1871fd"
}
}
}
]
}
@@ -0,0 +1,203 @@
{
"version": "contiguous-prefix-v1",
"helper_sha256": "8a1d08a8ad9a3bfec2e75150ebfa5ef9e76a2060857e14f352a4d1b18321e6cb",
"verifier_sha256": "7c16b2311d476322e31a4d8f187d585fc0c482a9e50440bd2775965cd681bb27",
"voice_directory": "sunsalutation/voice",
"asr_model": "openai/whisper-large-v3-turbo",
"asr_revision": "41f01f3fe87f28c78e2fbf8b568835947dd65ed9",
"asr_artifacts": {
"model.safetensors": "542566a422ae4f3fd23f1ba11add198fca01bbf82e66e6a2857b3f608b1eb9d1",
"generation_config.json": "cce11bfe3aaa6ae9e072ea2637caaec8795e68d9b67e655a5af16ee509681a4c",
"vocab.json": "e2aa043ef015641d363d8288e7c241c85e36a5c761fb303598e0710233344387",
"merges.txt": "2df2990a395e35e8dfbc7511e08c12d56018d8d04691e0133e5d63b21e154dc6",
"special_tokens_map.json": "baea4ea09372eb4fca86b4e4346139fd73cb807d5087e9de0948e971739c3e74",
"config.json": "c5b526b3e3cd64cd8940dabb45e8ba726629e22d8ed389c29b552f9140daf04a",
"preprocessor_config.json": "7ccc62c6f2765af1f3b46c00c9b5894426835a05021c8b9c01eecb6dfb542711",
"normalizer.json": "bf1c507dc8724ca9cf9903640dacfb69dae2f00edee4f21ceba106a7392f26dd",
"tokenizer_config.json": "844b642c73a91359722f47b35705f7174686df33d252695d8572cf9ac03a6389",
"added_tokens.json": "3c51f66c4c21f9e126970078f11ae77a78c74aee8df606ee9daba86e467108e0",
"tokenizer.json": "297b13372ac43916285644fb9687add3cc62ee2a1adb60da3dc25cc94c1871fd"
},
"rules": [
{
"locale": "pt",
"text": "Inspire.",
"parent_text": "Inspire e leve a perna direita para trás, joelho no chão.",
"parent_source": {
"file": "design/sun-salutation/narration/text-female/pt.txt",
"key": "sun_salutation_voice_lunge_right",
"sha256": "219a9bef870ed737e19297f5adfe7348db9056f1f2d2bb9e9c767b2925fbddfd"
},
"maximum_parent_seconds": 5.8,
"minimum_parent_match": 0.92
},
{
"locale": "pt",
"text": "Solte o ar.",
"parent_text": "Solte o ar e leve o quadril para cima e para trás.",
"parent_source": {
"file": "design/sun-salutation/narration/text-female/pt.txt",
"key": "sun_salutation_voice_downward_dog",
"sha256": "219a9bef870ed737e19297f5adfe7348db9056f1f2d2bb9e9c767b2925fbddfd"
},
"maximum_parent_seconds": 5.8,
"minimum_parent_match": 0.92
},
{
"locale": "cs",
"text": "Nadechněte se.",
"parent_text": "Nadechněte se, pravou nohu dejte dozadu a koleno na zem.",
"parent_source": {
"file": "design/sun-salutation/narration/text/cs.txt",
"key": "sun_salutation_voice_lunge_right",
"sha256": "0288bab990930ef8b1fd006eea867b962f4413e7653f0a4c5c2d67b73df0df07"
},
"maximum_parent_seconds": 5.8,
"minimum_parent_match": 0.92
},
{
"locale": "cs",
"text": "Vydechněte.",
"parent_text": "Vydechněte a předkloňte se.",
"parent_source": {
"file": "design/sun-salutation/narration/text/cs.txt",
"key": "sun_salutation_voice_fold",
"sha256": "0288bab990930ef8b1fd006eea867b962f4413e7653f0a4c5c2d67b73df0df07"
},
"maximum_parent_seconds": 5.8,
"minimum_parent_match": 0.92,
"prefix_alignment": "retain-leading-pcm0-v1"
},
{
"locale": "ru",
"text": "Вдохните.",
"parent_text": "Вдохните и отведите правую ногу назад, колено на пол.",
"parent_source": {
"file": "design/sun-salutation/narration/text/ru.txt",
"key": "sun_salutation_voice_lunge_right",
"sha256": "00441e146682a29544da97b6c4e7d25b1cc1d94ff1d7c470f75e52d21da8a4b0"
},
"maximum_parent_seconds": 5.8,
"minimum_parent_match": 0.92,
"prefix_alignment": "retain-leading-pcm0-v1"
},
{
"locale": "ru",
"text": "Выдохните.",
"parent_text": "Выдохните и наклонитесь вперёд.",
"parent_source": {
"file": "design/sun-salutation/narration/text/ru.txt",
"key": "sun_salutation_voice_fold",
"sha256": "00441e146682a29544da97b6c4e7d25b1cc1d94ff1d7c470f75e52d21da8a4b0"
},
"maximum_parent_seconds": 5.8,
"minimum_parent_match": 0.92
},
{
"locale": "es",
"text": "Inhala.",
"parent_text": "Inhala y lleva la pierna derecha atrás, rodilla al suelo.",
"parent_source": {
"file": "design/sun-salutation/narration/text/es.txt",
"key": "sun_salutation_voice_lunge_right",
"sha256": "05771535de8807a538f1c876271cebf1d6ca29adf20f04500bfffd9657dec54c"
},
"maximum_parent_seconds": 5.8,
"minimum_parent_match": 0.92
},
{
"locale": "es",
"text": "Exhala.",
"parent_text": "Exhala y lleva la cadera arriba y atrás.",
"parent_source": {
"file": "design/sun-salutation/narration/text/es.txt",
"key": "sun_salutation_voice_downward_dog",
"sha256": "05771535de8807a538f1c876271cebf1d6ca29adf20f04500bfffd9657dec54c"
},
"maximum_parent_seconds": 5.8,
"minimum_parent_match": 0.92
},
{
"locale": "fr",
"text": "Inspirez.",
"parent_text": "Inspirez et reculez la jambe droite, genou au sol.",
"parent_source": {
"file": "design/sun-salutation/narration/text/fr.txt",
"key": "sun_salutation_voice_lunge_right",
"sha256": "235b162b08b02690da6609f09b881771c9513fbe4ca7be518b04222aeb0bbc5b"
},
"maximum_parent_seconds": 5.8,
"minimum_parent_match": 0.92
},
{
"locale": "fr",
"text": "Expirez.",
"parent_text": "Expirez et penchez-vous en avant.",
"parent_source": {
"file": "design/sun-salutation/narration/text/fr.txt",
"key": "sun_salutation_voice_fold",
"sha256": "235b162b08b02690da6609f09b881771c9513fbe4ca7be518b04222aeb0bbc5b"
},
"maximum_parent_seconds": 5.8,
"minimum_parent_match": 0.92
},
{
"locale": "zh",
"text": "吸气。",
"parent_text": "吸气,右腿向后迈,膝盖落地。",
"parent_source": {
"file": "design/sun-salutation/narration/text/zh.txt",
"key": "sun_salutation_voice_lunge_right",
"sha256": "59158ff620073eeb21b5dce982151c10431727cbd1a90b23e9545a5e5a47037d"
},
"maximum_parent_seconds": 5.8,
"minimum_parent_match": 0.92,
"crop_asr": {
"model": "openai/whisper-large-v3-turbo",
"revision": "41f01f3fe87f28c78e2fbf8b568835947dd65ed9",
"artifacts": {
"model.safetensors": "542566a422ae4f3fd23f1ba11add198fca01bbf82e66e6a2857b3f608b1eb9d1",
"generation_config.json": "cce11bfe3aaa6ae9e072ea2637caaec8795e68d9b67e655a5af16ee509681a4c",
"vocab.json": "e2aa043ef015641d363d8288e7c241c85e36a5c761fb303598e0710233344387",
"merges.txt": "2df2990a395e35e8dfbc7511e08c12d56018d8d04691e0133e5d63b21e154dc6",
"special_tokens_map.json": "baea4ea09372eb4fca86b4e4346139fd73cb807d5087e9de0948e971739c3e74",
"config.json": "c5b526b3e3cd64cd8940dabb45e8ba726629e22d8ed389c29b552f9140daf04a",
"preprocessor_config.json": "7ccc62c6f2765af1f3b46c00c9b5894426835a05021c8b9c01eecb6dfb542711",
"normalizer.json": "bf1c507dc8724ca9cf9903640dacfb69dae2f00edee4f21ceba106a7392f26dd",
"tokenizer_config.json": "844b642c73a91359722f47b35705f7174686df33d252695d8572cf9ac03a6389",
"added_tokens.json": "3c51f66c4c21f9e126970078f11ae77a78c74aee8df606ee9daba86e467108e0",
"tokenizer.json": "297b13372ac43916285644fb9687add3cc62ee2a1adb60da3dc25cc94c1871fd"
}
}
},
{
"locale": "zh",
"text": "呼气。",
"parent_text": "呼气,双脚后退成平板式。",
"parent_source": {
"file": "design/sun-salutation/narration/text/zh.txt",
"key": "sun_salutation_voice_plank",
"sha256": "59158ff620073eeb21b5dce982151c10431727cbd1a90b23e9545a5e5a47037d"
},
"maximum_parent_seconds": 5.8,
"minimum_parent_match": 0.92,
"crop_asr": {
"model": "openai/whisper-large-v3-turbo",
"revision": "41f01f3fe87f28c78e2fbf8b568835947dd65ed9",
"artifacts": {
"model.safetensors": "542566a422ae4f3fd23f1ba11add198fca01bbf82e66e6a2857b3f608b1eb9d1",
"generation_config.json": "cce11bfe3aaa6ae9e072ea2637caaec8795e68d9b67e655a5af16ee509681a4c",
"vocab.json": "e2aa043ef015641d363d8288e7c241c85e36a5c761fb303598e0710233344387",
"merges.txt": "2df2990a395e35e8dfbc7511e08c12d56018d8d04691e0133e5d63b21e154dc6",
"special_tokens_map.json": "baea4ea09372eb4fca86b4e4346139fd73cb807d5087e9de0948e971739c3e74",
"config.json": "c5b526b3e3cd64cd8940dabb45e8ba726629e22d8ed389c29b552f9140daf04a",
"preprocessor_config.json": "7ccc62c6f2765af1f3b46c00c9b5894426835a05021c8b9c01eecb6dfb542711",
"normalizer.json": "bf1c507dc8724ca9cf9903640dacfb69dae2f00edee4f21ceba106a7392f26dd",
"tokenizer_config.json": "844b642c73a91359722f47b35705f7174686df33d252695d8572cf9ac03a6389",
"added_tokens.json": "3c51f66c4c21f9e126970078f11ae77a78c74aee8df606ee9daba86e467108e0",
"tokenizer.json": "297b13372ac43916285644fb9687add3cc62ee2a1adb60da3dc25cc94c1871fd"
}
}
}
]
}
+203
View File
@@ -0,0 +1,203 @@
{
"version": "contiguous-prefix-v1",
"helper_sha256": "133b595ae2e4f9b2e3f7d9b0931b4fb4f4732681efdb64c3539cda2b662660a7",
"verifier_sha256": "30849e12d4ea5e9b304edb2260839e0f6094600df7a8d34253ea4ef01c0b1f26",
"voice_directory": "sunsalutation/voice",
"asr_model": "openai/whisper-large-v3-turbo",
"asr_revision": "41f01f3fe87f28c78e2fbf8b568835947dd65ed9",
"asr_artifacts": {
"model.safetensors": "542566a422ae4f3fd23f1ba11add198fca01bbf82e66e6a2857b3f608b1eb9d1",
"generation_config.json": "cce11bfe3aaa6ae9e072ea2637caaec8795e68d9b67e655a5af16ee509681a4c",
"vocab.json": "e2aa043ef015641d363d8288e7c241c85e36a5c761fb303598e0710233344387",
"merges.txt": "2df2990a395e35e8dfbc7511e08c12d56018d8d04691e0133e5d63b21e154dc6",
"special_tokens_map.json": "baea4ea09372eb4fca86b4e4346139fd73cb807d5087e9de0948e971739c3e74",
"config.json": "c5b526b3e3cd64cd8940dabb45e8ba726629e22d8ed389c29b552f9140daf04a",
"preprocessor_config.json": "7ccc62c6f2765af1f3b46c00c9b5894426835a05021c8b9c01eecb6dfb542711",
"normalizer.json": "bf1c507dc8724ca9cf9903640dacfb69dae2f00edee4f21ceba106a7392f26dd",
"tokenizer_config.json": "844b642c73a91359722f47b35705f7174686df33d252695d8572cf9ac03a6389",
"added_tokens.json": "3c51f66c4c21f9e126970078f11ae77a78c74aee8df606ee9daba86e467108e0",
"tokenizer.json": "297b13372ac43916285644fb9687add3cc62ee2a1adb60da3dc25cc94c1871fd"
},
"rules": [
{
"locale": "pt",
"text": "Inspire.",
"parent_text": "Inspire e leve a perna direita para trás, joelho no chão.",
"parent_source": {
"file": "design/sun-salutation/narration/text-female/pt.txt",
"key": "sun_salutation_voice_lunge_right",
"sha256": "219a9bef870ed737e19297f5adfe7348db9056f1f2d2bb9e9c767b2925fbddfd"
},
"maximum_parent_seconds": 5.8,
"minimum_parent_match": 0.92
},
{
"locale": "pt",
"text": "Solte o ar.",
"parent_text": "Solte o ar e leve o quadril para cima e para trás.",
"parent_source": {
"file": "design/sun-salutation/narration/text-female/pt.txt",
"key": "sun_salutation_voice_downward_dog",
"sha256": "219a9bef870ed737e19297f5adfe7348db9056f1f2d2bb9e9c767b2925fbddfd"
},
"maximum_parent_seconds": 5.8,
"minimum_parent_match": 0.92
},
{
"locale": "cs",
"text": "Nadechněte se.",
"parent_text": "Nadechněte se, pravou nohu dejte dozadu a koleno na zem.",
"parent_source": {
"file": "design/sun-salutation/narration/text/cs.txt",
"key": "sun_salutation_voice_lunge_right",
"sha256": "0288bab990930ef8b1fd006eea867b962f4413e7653f0a4c5c2d67b73df0df07"
},
"maximum_parent_seconds": 5.8,
"minimum_parent_match": 0.92
},
{
"locale": "cs",
"text": "Vydechněte.",
"parent_text": "Vydechněte a předkloňte se.",
"parent_source": {
"file": "design/sun-salutation/narration/text/cs.txt",
"key": "sun_salutation_voice_fold",
"sha256": "0288bab990930ef8b1fd006eea867b962f4413e7653f0a4c5c2d67b73df0df07"
},
"maximum_parent_seconds": 5.8,
"minimum_parent_match": 0.92,
"prefix_alignment": "retain-leading-pcm0-v1"
},
{
"locale": "ru",
"text": "Вдохните.",
"parent_text": "Вдохните и отведите правую ногу назад, колено на пол.",
"parent_source": {
"file": "design/sun-salutation/narration/text/ru.txt",
"key": "sun_salutation_voice_lunge_right",
"sha256": "00441e146682a29544da97b6c4e7d25b1cc1d94ff1d7c470f75e52d21da8a4b0"
},
"maximum_parent_seconds": 5.8,
"minimum_parent_match": 0.92,
"prefix_alignment": "retain-leading-pcm0-v1"
},
{
"locale": "ru",
"text": "Выдохните.",
"parent_text": "Выдохните и наклонитесь вперёд.",
"parent_source": {
"file": "design/sun-salutation/narration/text/ru.txt",
"key": "sun_salutation_voice_fold",
"sha256": "00441e146682a29544da97b6c4e7d25b1cc1d94ff1d7c470f75e52d21da8a4b0"
},
"maximum_parent_seconds": 5.8,
"minimum_parent_match": 0.92
},
{
"locale": "es",
"text": "Inhala.",
"parent_text": "Inhala y lleva la pierna derecha atrás, rodilla al suelo.",
"parent_source": {
"file": "design/sun-salutation/narration/text/es.txt",
"key": "sun_salutation_voice_lunge_right",
"sha256": "05771535de8807a538f1c876271cebf1d6ca29adf20f04500bfffd9657dec54c"
},
"maximum_parent_seconds": 5.8,
"minimum_parent_match": 0.92
},
{
"locale": "es",
"text": "Exhala.",
"parent_text": "Exhala y lleva la cadera arriba y atrás.",
"parent_source": {
"file": "design/sun-salutation/narration/text/es.txt",
"key": "sun_salutation_voice_downward_dog",
"sha256": "05771535de8807a538f1c876271cebf1d6ca29adf20f04500bfffd9657dec54c"
},
"maximum_parent_seconds": 5.8,
"minimum_parent_match": 0.92
},
{
"locale": "fr",
"text": "Inspirez.",
"parent_text": "Inspirez et reculez la jambe droite, genou au sol.",
"parent_source": {
"file": "design/sun-salutation/narration/text/fr.txt",
"key": "sun_salutation_voice_lunge_right",
"sha256": "235b162b08b02690da6609f09b881771c9513fbe4ca7be518b04222aeb0bbc5b"
},
"maximum_parent_seconds": 5.8,
"minimum_parent_match": 0.92
},
{
"locale": "fr",
"text": "Expirez.",
"parent_text": "Expirez et penchez-vous en avant.",
"parent_source": {
"file": "design/sun-salutation/narration/text/fr.txt",
"key": "sun_salutation_voice_fold",
"sha256": "235b162b08b02690da6609f09b881771c9513fbe4ca7be518b04222aeb0bbc5b"
},
"maximum_parent_seconds": 5.8,
"minimum_parent_match": 0.92
},
{
"locale": "zh",
"text": "吸气。",
"parent_text": "吸气,右腿向后迈,膝盖落地。",
"parent_source": {
"file": "design/sun-salutation/narration/text/zh.txt",
"key": "sun_salutation_voice_lunge_right",
"sha256": "59158ff620073eeb21b5dce982151c10431727cbd1a90b23e9545a5e5a47037d"
},
"maximum_parent_seconds": 5.8,
"minimum_parent_match": 0.92,
"crop_asr": {
"model": "openai/whisper-large-v3-turbo",
"revision": "41f01f3fe87f28c78e2fbf8b568835947dd65ed9",
"artifacts": {
"model.safetensors": "542566a422ae4f3fd23f1ba11add198fca01bbf82e66e6a2857b3f608b1eb9d1",
"generation_config.json": "cce11bfe3aaa6ae9e072ea2637caaec8795e68d9b67e655a5af16ee509681a4c",
"vocab.json": "e2aa043ef015641d363d8288e7c241c85e36a5c761fb303598e0710233344387",
"merges.txt": "2df2990a395e35e8dfbc7511e08c12d56018d8d04691e0133e5d63b21e154dc6",
"special_tokens_map.json": "baea4ea09372eb4fca86b4e4346139fd73cb807d5087e9de0948e971739c3e74",
"config.json": "c5b526b3e3cd64cd8940dabb45e8ba726629e22d8ed389c29b552f9140daf04a",
"preprocessor_config.json": "7ccc62c6f2765af1f3b46c00c9b5894426835a05021c8b9c01eecb6dfb542711",
"normalizer.json": "bf1c507dc8724ca9cf9903640dacfb69dae2f00edee4f21ceba106a7392f26dd",
"tokenizer_config.json": "844b642c73a91359722f47b35705f7174686df33d252695d8572cf9ac03a6389",
"added_tokens.json": "3c51f66c4c21f9e126970078f11ae77a78c74aee8df606ee9daba86e467108e0",
"tokenizer.json": "297b13372ac43916285644fb9687add3cc62ee2a1adb60da3dc25cc94c1871fd"
}
}
},
{
"locale": "zh",
"text": "呼气。",
"parent_text": "呼气,双脚后退成平板式。",
"parent_source": {
"file": "design/sun-salutation/narration/text/zh.txt",
"key": "sun_salutation_voice_plank",
"sha256": "59158ff620073eeb21b5dce982151c10431727cbd1a90b23e9545a5e5a47037d"
},
"maximum_parent_seconds": 5.8,
"minimum_parent_match": 0.92,
"crop_asr": {
"model": "openai/whisper-large-v3-turbo",
"revision": "41f01f3fe87f28c78e2fbf8b568835947dd65ed9",
"artifacts": {
"model.safetensors": "542566a422ae4f3fd23f1ba11add198fca01bbf82e66e6a2857b3f608b1eb9d1",
"generation_config.json": "cce11bfe3aaa6ae9e072ea2637caaec8795e68d9b67e655a5af16ee509681a4c",
"vocab.json": "e2aa043ef015641d363d8288e7c241c85e36a5c761fb303598e0710233344387",
"merges.txt": "2df2990a395e35e8dfbc7511e08c12d56018d8d04691e0133e5d63b21e154dc6",
"special_tokens_map.json": "baea4ea09372eb4fca86b4e4346139fd73cb807d5087e9de0948e971739c3e74",
"config.json": "c5b526b3e3cd64cd8940dabb45e8ba726629e22d8ed389c29b552f9140daf04a",
"preprocessor_config.json": "7ccc62c6f2765af1f3b46c00c9b5894426835a05021c8b9c01eecb6dfb542711",
"normalizer.json": "bf1c507dc8724ca9cf9903640dacfb69dae2f00edee4f21ceba106a7392f26dd",
"tokenizer_config.json": "844b642c73a91359722f47b35705f7174686df33d252695d8572cf9ac03a6389",
"added_tokens.json": "3c51f66c4c21f9e126970078f11ae77a78c74aee8df606ee9daba86e467108e0",
"tokenizer.json": "297b13372ac43916285644fb9687add3cc62ee2a1adb60da3dc25cc94c1871fd"
}
}
}
]
}
@@ -0,0 +1,51 @@
{
"version": "contiguous-prefix-v1",
"helper_sha256": "fcf1d55218627c04fbe787d1b66987d4f7f34e7261822f02e8cc8b2beef47c1f",
"verifier_sha256": "c07d404a3a0cd865b2a2ce6fbbc4c0e97c26b39e708afb3d680ad583dd336b38",
"voice_directory": "taichi/voice",
"asr_model": "openai/whisper-large-v3-turbo",
"asr_revision": "41f01f3fe87f28c78e2fbf8b568835947dd65ed9",
"asr_artifacts": {
"model.safetensors": "542566a422ae4f3fd23f1ba11add198fca01bbf82e66e6a2857b3f608b1eb9d1",
"generation_config.json": "cce11bfe3aaa6ae9e072ea2637caaec8795e68d9b67e655a5af16ee509681a4c",
"vocab.json": "e2aa043ef015641d363d8288e7c241c85e36a5c761fb303598e0710233344387",
"merges.txt": "2df2990a395e35e8dfbc7511e08c12d56018d8d04691e0133e5d63b21e154dc6",
"special_tokens_map.json": "baea4ea09372eb4fca86b4e4346139fd73cb807d5087e9de0948e971739c3e74",
"config.json": "c5b526b3e3cd64cd8940dabb45e8ba726629e22d8ed389c29b552f9140daf04a",
"preprocessor_config.json": "7ccc62c6f2765af1f3b46c00c9b5894426835a05021c8b9c01eecb6dfb542711",
"normalizer.json": "bf1c507dc8724ca9cf9903640dacfb69dae2f00edee4f21ceba106a7392f26dd",
"tokenizer_config.json": "844b642c73a91359722f47b35705f7174686df33d252695d8572cf9ac03a6389",
"added_tokens.json": "3c51f66c4c21f9e126970078f11ae77a78c74aee8df606ee9daba86e467108e0",
"tokenizer.json": "297b13372ac43916285644fb9687add3cc62ee2a1adb60da3dc25cc94c1871fd"
},
"rules": [
{
"locale": "en",
"text": "Play the Lute",
"parent_text": "Play the Lute, and let the posture settle.",
"maximum_parent_seconds": 5.8,
"minimum_parent_match": 0.92
},
{
"locale": "de",
"text": "Hebe die rechten Zehen",
"parent_text": "Hebe die rechten Zehen, und nimm dir dafür einen ruhigen Moment.",
"maximum_parent_seconds": 5.8,
"minimum_parent_match": 0.92
},
{
"locale": "de",
"text": "Scheinbares Schließen",
"parent_text": "Scheinbares Schließen, nimm dir dafür einen ruhigen Moment.",
"maximum_parent_seconds": 5.8,
"minimum_parent_match": 0.92
},
{
"locale": "de",
"text": "Weiche Knie",
"parent_text": "Weiche Knie, nimm dir dafür einen ruhigen Moment.",
"maximum_parent_seconds": 5.8,
"minimum_parent_match": 0.92
}
]
}
Loaded 100 of 421 files, more files were not shown because too many files have changed in this diff. Show more