Environment & Bootstrap Stability: Fix Ghost Account and Modernize PWA Manifest

- Resolved 'Ghost Account' warning by updating layout hydration to align with V3 ID Vision (account_id vs account_id_random).
- Improved site lookup reliability using Agent API Key and structured EQ filters for exact FQDN matching (including ports).
- Modernized PWA manifest with maskable icons (PNG/WebP), app shortcuts, and unique installation IDs.
- Implemented automatic Electron 'Native' mode detection in root layout.
- Fixed stale API URLs in Launcher native file download logic.
- Added V3 migration documentation and JWT verification test scripts.
This commit is contained in:
Scott Idem
2026-01-19 16:44:20 -05:00
parent 08d0d9ca45
commit 25d6503afe
11 changed files with 341 additions and 83 deletions

View File

@@ -187,14 +187,14 @@
console.log('Cached hash file found.');
} else if (check_hash_file_cache_result == null) {
console.log(
`Cached hash file not found. Need to download from API server. Base URL ${$events_loc.launcher.api.base_url}`
`Cached hash file not found. Need to download from API server. Base URL ${$ae_api.base_url}`
);
open_file_status = 'downloading_file';
open_file_status_message = 'Downloading file...';
let download_hash_file_to_cache_result =
await window.native_app.download_hash_file_to_cache_v2({
api_base_url: $events_loc.launcher.api.base_url,
api_base_url_backup: $events_loc.launcher.api.base_url_backup,
api_base_url: $ae_api.base_url,
api_base_url_backup: $ae_api.base_url_bak,
local_file_cache_path: $events_loc.launcher.local_file_cache_path,
event_file_id: event_file_id,
hash: event_file_obj.hash_sha256,