feat(panel): add Antigravity host UI localization and language packs

- Add standalone host-i18n language pack manager with GitHub/jsDelivr
  download, SHA-256 integrity checks, offline light/deep tier switching,
  and lossless DOM translation over the CDP window bridge
- Add Settings -> General host interface language controls, untranslated
  UI string collector, and loopback-only /api/host-i18n endpoints
- Include zh-CN layered language pack assets and source/audit/build scripts
  under host-i18n/ while keeping the Release ZIP runtime whitelist isolated
This commit is contained in:
fish
2026-11-25 13:38:23 +09:00
parent 5565133710
commit 8a01705e6f
48 changed files with 32522 additions and 38 deletions
@@ -45,6 +45,8 @@ export const BRIDGE_API_ROUTE_DEFS = Object.freeze([
method: 'GET',
action: 'quota_reservation_log',
}),
Object.freeze({ path: '/api/host-i18n', method: 'GET', action: 'host_i18n_get' }),
Object.freeze({ path: '/api/host-i18n', method: 'POST', action: 'host_i18n_action' }),
]);
export const BRIDGE_API_PATHS = Object.freeze(BRIDGE_API_ROUTE_DEFS.map((r) => r.path));