From c2d78b0c8f391c460ae4904cb9b03b00a7604ba7 Mon Sep 17 00:00:00 2001 From: araharah-executor Date: Sat, 24 Oct 2026 01:36:30 +0800 Subject: [PATCH] feat(04-04): ONBD-03 home-screen hooks + the boot wiring + the ?dest= harness profile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - homescreen.ts: wireHomeScreen behind the BOTH-halves Bot API 8.0 guard; 'added' hides (no nag), 'unknown' (always iOS) shows the neutral prompt — indeterminate, never an error; homeScreenAdded hides; a refused addToHomeScreen is caught, the affordance stays; .btn-secondary in the existing strip — no new furniture; NO beforeinstallprompt/manifest/service worker (T-04-38) - main.ts: locale derivation moved above the bindings block; stage 13 reads BOTH destination carriers, seeds the memory-only holder, builds the destination/unavailable surface (null when no id — Phase 3 boot byte-identical, D-12); the live register shows the destination surface; the ARAHARAH-DEST state-token signal fires unconditionally - index.html: ?dest= harness profile threaded to the mock's startParam; the block stays inside __ARAHARAH_HARNESS__ - HS1-HS9 green (54/54), web:typecheck green --- web/index.html | 12 +++++- web/src/main.ts | 58 ++++++++++++++++++++++--- web/src/telegram/homescreen.ts | 77 ++++++++++++++++++++++++++++++++++ 3 files changed, 140 insertions(+), 7 deletions(-) create mode 100644 web/src/telegram/homescreen.ts diff --git a/web/index.html b/web/index.html index 71e0b0d..237927e 100644 --- a/web/index.html +++ b/web/index.html @@ -9,7 +9,7 @@