— Absolute path to the workbench directory
(e.g. %LOCALAPPDATA%/Programs/Antigravity/resources/app/out/vs/code/electron-browser/workbench/)
— Unique slug for this extension (e.g. 'kanezal-better-antigravity')
Release the integrity check suppression.
Call this when uninstalling the integration. If no other SDK namespaces remain active, restores all original hashes in product.json.
Re-apply integrity suppression after auto-repair.
Call this after auto-repair has re-patched files (e.g. after an AG update that overwrote workbench files).
Suppress the integrity check by updating ALL mismatched hashes in product.json.
Scans every file listed in product.json checksums, recomputes SHA256 for each, and updates any that have changed. This handles not just workbench.html but also workbench.desktop.main.js (auto-run fix), jetskiAgent files, etc.
Call this after any file patching. Safe to call multiple times.
Manages integrity check suppression for Antigravity's IntegrityService.
Call
suppressCheck()after any file patching (workbench.html, main.js, etc.). It scans ALL files listed in product.json checksums, recomputes hashes for any that have changed, and updates product.json. IntegrityService will seeisPure = trueon next restart, producing zero warnings.