npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@django9944/antigravity-theme

v0.3.7

Published

OKLCH matte & aurora glass theme system (7 families × Dark/Light) + macOS/Windows desktop ASAR patcher for Antigravity.

Readme

Antigravity Theme

CI Gates GitHub Release npm 版本 Live Preview Workbench Accessibility Color Space License: MIT

English | 简体中文 · 在线打开三栏交互仿真预览台 ↗

产品愿景 (Vision) · Agent 协作指南 (Agents) · 贡献指南 (Contributing) · 安全策略 (Security) · 行为准则 (Code of Conduct) · 社区讨论 (Discussions)

Antigravity Theme(@django9944/antigravity-theme)是一套专为 Antigravity 2.0 Agent 桌面端应用 打造的开源 OKLCH 磨砂与极光玻璃主题系统 + 跨平台免重签桌面安装器(覆盖 7 大主题色系 × Dark/Light 共 14 款变体 + 一键还原 Stock 原版,支持 macOS 与 Windows)。双击脚本即可安装,不改动主二进制、Info.plist 与 _CodeSignature,依托宿主 designated requirement 保留 macOS TCC 系统权限与正常启动(修改 app.asar 会使整包 CodeResources 封印校验失效,卸载可恢复;详见 代码签名影响),并可在应用右上角悬浮胶囊菜单随时实时切换色系或导出一整套标准 Design Token。

[!NOTE] 适用范围边界:本项目仅面向 Antigravity 2.0 Agent 桌面端应用(左侧边栏 · 对话画布 · 右侧辅助面板),并非代码编辑器主题(不包含 Antigravity IDE、VS Code 及其他编辑器)。

桌面端 30 秒快速上手(macOS & Windows)

三步一键启用

  1. 下载安装包:前往 GitHub Releases 下载对应系统的 antigravity-theme-v0.3.7-macos.zip 或 antigravity-theme-v0.3.7-windows.zip 并解压。
  2. 双击脚本一键操作:

| 操作 | macOS (Antigravity.app) | Windows (%LOCALAPPDATA%\Programs\Antigravity) | | :--- | :--- | :--- | | 一键安装 / 启用主题 | 双击 install.command | 双击 install.bat | | 在线校验更新 | 双击 检查更新.command | 双击 检查更新.bat | | 彻底卸载 / 还原原厂 | 双击 uninstall.command | 双击 uninstall.bat |

  1. 在客户端内实时切换主题:重启 Antigravity(首次安装默认启用旗舰 Orbital 星轨 主题)。将鼠标移至窗口右上角悬浮主题胶囊,即可实时切换 7 大色系,或随时点击 Stock 无痕切回官方原版外观(深浅明暗外观自动跟随宿主 Settings -> Appearance)。

进阶命令行与自动自愈(CLI)

适合终端进阶用户、只读兼容性排查,或在宿主客户端升级后自动恢复主题钩子:

macOS(install.sh — Hook v3)

已知可用版本矩阵

| 宿主版本 | 主题版本 | 最低可直升版本 | 验证日期 | 来源 | | :--- | :--- | :--- | :--- | :--- | | 2.38.0 | v0.3.5 | v0.2.8 | 2026-12-06 | macOS 真机实测 + antigravity-watch.yml | | 2.38.0 | v0.3.4 | v0.2.8 | 2026-12-04 | antigravity-watch.yml (PR #66) |

./install.sh --install             # 备份原厂 app.asar、注入 Hook v3 并分发 current.css / current.js
./install.sh --doctor              # 只读诊断当前 Antigravity 的锚点兼容性与 SHA-256 完整性
./install.sh --enable-auto-heal    # 注册 LaunchAgent:宿主自动升级后静默恢复主题钩子
./install.sh --disable-auto-heal   # 关闭并移除自动修复 LaunchAgent(保留已安装主题)
./install.sh --update              # 拉取最新 Release、校验 SHA256SUMS.txt.sig,智能热更新或重注入
./install.sh --uninstall           # 字节级还原原厂 app.asar 并移除 LaunchAgent、引擎与主题目录

Windows(install.ps1 — Hook v3)

powershell -NoProfile -ExecutionPolicy Bypass -File .\install.ps1                     # 一键安装与分发载荷
powershell -NoProfile -ExecutionPolicy Bypass -File .\install.ps1 -Doctor             # 只读 ASAR 兼容诊断
powershell -NoProfile -ExecutionPolicy Bypass -File .\install.ps1 -EnableAutoHeal     # 注册登录触发 + 每 4 小时巡检自愈计划任务
powershell -NoProfile -ExecutionPolicy Bypass -File .\install.ps1 -DisableAutoHeal    # 仅移除自动自愈计划任务(保留已安装主题)
powershell -NoProfile -ExecutionPolicy Bypass -File .\install.ps1 -Update             # 校验签名与 SHA256 在线更新
powershell -NoProfile -ExecutionPolicy Bypass -File .\install.ps1 -Uninstall          # 还原原厂 ASAR 并清理任务、引擎与主题目录

[!TIP] 偏好记忆:通过右上角悬浮胶囊选中的色系与明暗偏好会在 --update 更新及自动自愈后持续保留。

首次运行说明

  • macOS Gatekeeper 隔离属性:从网络下载并解压的压缩包带有 com.apple.quarantine 标记。首次双击 install.command 可通过「右键 -> 打开」确认运行,或在终端对解压目录执行:

    已知可用版本矩阵

| 宿主版本 | 主题版本 | 最低可直升版本 | 验证日期 | 来源 | | :--- | :--- | :--- | :--- | :--- | | 2.38.0 | v0.3.5 | v0.2.8 | 2026-12-06 | macOS 真机实测 + antigravity-watch.yml | | 2.38.0 | v0.3.4 | v0.2.8 | 2026-12-04 | antigravity-watch.yml (PR #66) |

  xattr -dr com.apple.quarantine ./antigravity-theme-*-macos
  • macOS「App 管理」权限与后台自愈说明:修改 /Applications/Antigravity.app 需要在 系统设置 -> 隐私与安全性 -> App 管理 中允许终端(或启动器)。此外,macOS 会限制后台 LaunchAgent 直接写入 /Applications/*.app:当 Antigravity 升级覆盖 app.asar 后,后台自愈若受限会在日志记录 PERMISSION_DENIED;此时重新双击 install.command 或运行 ./install.sh --install 即可恢复。
  • Windows 下载解除锁定(Mark-of-the-Web):解压 antigravity-theme-v<ver>-windows.zip 之前,请右键压缩包 -> 属性 -> 勾选底部的 解除锁定(Unblock) -> 确定(或在 PowerShell 中运行 Unblock-File .\antigravity-theme-v*-windows.zip),避免触发反复权限确认或 SmartScreen 拦截。

写入位置与完全卸载

Antigravity Theme(Hook v3)仅写入以下位置,且绝不改动 Info.plist 与 _CodeSignature:

| 写入内容 / 用途 | macOS 路径 | Windows 路径 | | :--- | :--- | :--- | | 宿主样式加载入口(app.asar) | /Applications/Antigravity.app/Contents/Resources/app.asar | %LOCALAPPDATA%\Programs\Antigravity\resources\app.asar | | 主题运行时载荷(current.{css,js}) | ~/Library/Application Support/Antigravity/custom-theme/ | %APPDATA%\Antigravity\custom-theme\ | | 原厂纯净备份与元数据(app.asar.stock{,.json}) | ~/Library/Application Support/Antigravity/custom-theme-backup/ | %APPDATA%\Antigravity\custom-theme-backup\ | | 稳定自愈引擎副本(engine/) | ~/Library/Application Support/antigravity-theme/engine/ | %LOCALAPPDATA%\antigravity-theme\engine\ | | 后台自动恢复触发器 | ~/Library/LaunchAgents/com.django9944.antigravity-theme.autoheal.plist | 计划任务:AntigravityTheme-AutoHeal 与 AntigravityTheme-AutoHeal-Periodic | | 自愈运行日志与通知状态 | ~/Library/Application Support/Antigravity/custom-theme-autoheal.{log,state} | %APPDATA%\Antigravity\custom-theme-autoheal.log |

运行 --uninstall(macOS)或 -Uninstall(Windows)会从当前 app.asar 剥离注入钩子(仅当 app.asar.stock.json 校验版本与 SHA-256 一致且剥离失败时才使用原厂备份回退,绝不用旧版备份覆盖新版客户端),同时自动清理 custom-theme/、自愈 engine/ 目录以及新旧版 LaunchAgent / 计划任务。如需连同原厂备份与历史日志一并手动清除,可在卸载后执行:

已知可用版本矩阵

| 宿主版本 | 主题版本 | 最低可直升版本 | 验证日期 | 来源 | | :--- | :--- | :--- | :--- | :--- | | 2.38.0 | v0.3.5 | v0.2.8 | 2026-12-06 | macOS 真机实测 + antigravity-watch.yml | | 2.38.0 | v0.3.4 | v0.2.8 | 2026-12-04 | antigravity-watch.yml (PR #66) |

# macOS 可选:清理原厂备份目录与自愈日志
rm -rf ~/Library/Application\ Support/Antigravity/custom-theme-backup ~/Library/Application\ Support/Antigravity/custom-theme-autoheal.{log,state} ~/Library/Application\ Support/antigravity-theme
# Windows 可选:清理原厂备份目录与自愈日志
Remove-Item -Recurse -Force "$env:APPDATA\Antigravity\custom-theme-backup", "$env:APPDATA\Antigravity\custom-theme-autoheal.log", "$env:LOCALAPPDATA\antigravity-theme" -ErrorAction SilentlyContinue

常见问题与排错

  • 第一步先做只读体检:运行 ./install.sh --doctor(macOS)或 install.ps1 -Doctor(Windows),只读检查注入状态、锚点匹配、4 MB 分块完整性、Fuse 状态以及最近 5 条自愈日志。
  • 遇到 PERMISSION_DENIED / Operation not permitted(退出码 3):请在 macOS「系统设置 -> 隐私与安全性 -> App 管理」中授权终端;Windows 请先完全退出 Antigravity 以释放 app.asar 文件占用;同时确保 Antigravity 安装在可写目录而非只读 DMG 挂载卷中。
  • 宿主升级后提示 ANCHOR_MISSING(退出码 2):说明新版 Antigravity 修改了窗口启动锚点。请运行 --update / -Update 更新适配版本,或查看 GitHub Releases。
  • 诊断输出 Fuse Integrity: Enabled (BLOCKED):说明官方客户端已启用 Electron ASAR 完整性 Fuse;为防止修改后应用闪退,安装器会主动拒绝注入。
  • 签名或校验和验证失败(退出码 4):系统会安全中止且不覆盖本地文件。请从官方 GitHub Releases 重新下载对应 ZIP、SHA256SUMS.txt 与 SHA256SUMS.txt.sig,并参照 SECURITY.md 手动核验。

主题色系矩阵(7 大色系 × Dark / Light = 14 款变体 + Stock)

| 色系 (Family) | 暗色 ID(中文名) | 亮色 ID(中文名) | 主色调 (OKLCH) | 视觉气质与材质 | | :--- | :--- | :--- | :--- | :--- | | Orbital(星轨 · 旗舰) | antigravity-dark(星轨暗夜) | antigravity-light(星轨云瓷) | 255° 无重钴蓝 | 星轨岩板 / 云瓷磨砂玻璃 | | Prism(棱光) | antigravity-prism-dark(暗夜棱光) | antigravity-prism-light(流光棱镜) | 256° 四点极光 | 靛蓝岩板与净白瓷面 · 四点光谱极光 | | Zenith(天穹) | antigravity-zenith-dark(天穹深蓝) | antigravity-zenith-light(天穹澄蓝) | 236° 深空蔚蓝 | 深空天穹澄澈蔚蓝极光玻璃 | | Lagoon(沧澜) | antigravity-lagoon-dark(沧澜暗青) | antigravity-lagoon-light(沧澜青瓷) | 184° 翡翠暗青 | 沧澜暗青与青瓷矿石玻璃 | | Solar(日珥) | antigravity-solar-dark(日珥暮橙) | antigravity-solar-light(曦光暖橙) | 42° 黑曜暮琥珀 | 日珥暮橙与曦光暖珀玻璃 | | Nova(绯星) | antigravity-nova-dark(绯星绛夜) | antigravity-nova-light(绯星初霞) | 16° 勃艮第玫红 | 绯星绛夜与初霞玫红玻璃 | | Nebula(星云) | antigravity-nebula-dark(星云夜紫) | antigravity-nebula-light(星云霞紫) | 294° 暮光薰衣草紫 | 星云夜紫与浅薰衣草霞紫玻璃 | | Stock(官方原版) | stock | stock | 原厂默认 | current.js 运行时无痕剥离恢复 |

前往 三栏交互仿真预览台 ↗ 在线体验全套 14 款变体、极光网格背景、#FFFFFF / #000000 极限壁纸对比度测试及 Reduced Transparency 实机效果。

为什么选择 Antigravity Theme?(核心架构与安全亮点)

  • 科学对比度门禁(OKLCH + APCA/WCAG 2.1):全部 14 套变体均在纯白 #FFFFFF 与纯黑 #000000 极端壁纸下通过自动化 APCA(L1 ≥ 75、L2 ≥ 60、L3 ≥ 45)与 WCAG 2.1 校验,并提供不透明 @media (prefers-reduced-transparency: reduce) 降级保护。
  • 跨平台免重签 ASAR 引擎(core/asar-patcher.js,Hook v3):精确重算 ASAR 头部 JSON 偏移与文件级 / 4 MB 分块 SHA-256 校验和,不改动主二进制、Info.plist 与 _CodeSignature,依托宿主 designated requirement 保留正常启动与 macOS 辅助功能、录屏等 TCC 权限;完整应用包 CodeResources 封印校验(seal verification)在补丁期间会提示资源已修改,运行 --uninstall 可字节级恢复。
  • 自动自愈与安全热更新(core/updater.js):更新前强制核验 SHA256SUMS.txt;当 hookVersion 不变时执行免重启热替换 current.{css,js};执行 --uninstall 可字节级还原 app.asar.stock。
  • 双路官方上游自动巡检:.github/workflows/upstream-sync.yml 每周监测官方更新日志 CSS 变量,.github/workflows/antigravity-watch.yml 每日拉取官方 Electron 安装包实测真实 app.asar 注入兼容性。
  • 单一管线多端 Design Token 导出(@django9944/antigravity-theme):同一份 TypeScript SemanticIR 确定性编译生成 theme.json(W3C DTCG)、variables.css(--color-* 与 --agy-*)、code-theme.json(Shiki)、mermaid.json 与桌面端运行时 dist/runtime/current.{css,js}。

代码签名影响与受影响部署场景

修改 app.asar 会使宿主应用包 Contents/_CodeSignature/CodeResources 封印校验(seal verification)报告资源变更(详见 SECURITY.md#code-signature-impact)。以下三类受严格签名校验约束的场景不建议部署 ASAR 注入:

| 受影响部署场景 | 影响与说明 | | :--- | :--- | | MDM 管控设备 | 强制执行 codesign --verify --deep --strict 合规策略的 MDM 环境会将 app.asar 变更判为封印校验失败。 | | 依赖签名校验的安全软件 | 对完整应用包执行 CodeResources 完整性巡检的 EDR / 安全代理可能会拦截或隔离已打补丁的应用。 | | 需公证分发的二次分发 | Apple 公证(Notarization)要求整包密封签名完整,修改后的 .app 无法直接通过公证或二次分发。 |

Release 三端产物与 NPM 子路径导出

| 资产文件名 | 适用场景 | 包含内容 | | :--- | :--- | :--- | | antigravity-theme-v<ver>.zip | 设计系统与工具链集成 | 完整 dist/(14 套 DTCG/CSS/Shiki/Mermaid + runtime/)、LICENSE、README*、CHANGELOG.md | | antigravity-theme-v<ver>-macos.zip | macOS 桌面用户 | install.sh、*.command、manifest.json、core/{package.json,asar-patcher.js,updater.js}、dist/runtime/ | | antigravity-theme-v<ver>-windows.zip | Windows 桌面用户 | install.ps1、*.bat、manifest.json、core/{package.json,asar-patcher.js,updater.js}、dist/runtime/ | | SHA256SUMS.txt | 全局完整性校验 | 统一收录以上 3 个 ZIP 压缩包的 SHA-256 哈希值 | | SHA256SUMS.txt.sig | 需要核验下载的用户 | 对 SHA256SUMS.txt 原始字节的 Ed25519 签名(一行 base64) |

核验下载文件

带签名的版本会附带 SHA256SUMS.txt.sig,每个 ZIP 和 npm 包还有 GitHub 构建来源证明。公钥列在 SECURITY.md 和仓库 manifest.json 的 releaseSigningKeys 中。请从仓库获取公钥,不要用待核验压缩包里的公钥。在下载文件所在的目录运行:

# 1) 验证签名(Node.js 18+),把 <publicKey> 换成 SECURITY.md 中的 base64 公钥
node -e 'const c=require("crypto"),f=require("fs");const k=c.createPublicKey({key:Buffer.from(process.argv[1],"base64"),format:"der",type:"spki"});const s=Buffer.from(f.readFileSync("SHA256SUMS.txt.sig","utf8").trim(),"base64");const ok=c.verify(null,f.readFileSync("SHA256SUMS.txt"),k,s);console.log(ok?"OK":"BAD");if(!ok)process.exitCode=1' '<publicKey>'

# 2) 核对已下载压缩包的校验和
shasum -a 256 -c SHA256SUMS.txt --ignore-missing    # Linux:sha256sum -c SHA256SUMS.txt --ignore-missing

# 3) 查看构建来源证明(GitHub CLI)
gh attestation verify antigravity-theme-v<ver>-macos.zip --repo Django9944/antigravity-theme

也可以用 OpenSSL 3(macOS 自带的是 LibreSSL,不支持 Ed25519,可用 brew install openssl@3 安装)。把 SECURITY.md 中的 PEM 公钥保存为 release-signing.pub.pem,然后运行 base64 -d < SHA256SUMS.txt.sig > sig.bin && openssl pkeyutl -verify -pubin -inkey release-signing.pub.pem -rawin -in SHA256SUMS.txt -sigfile sig.bin。

在线更新器已强制校验 Ed25519 签名(SHA256SUMS.txt.sig,基于本地已安装的 releaseSigningKeys)、SHA256SUMS.txt 校验和、精确平台包名及文件白名单;密钥轮换与从旧版 0.2.x 升级时的一次性自举窗口见 SECURITY.md。

  • NPM 包主页:@django9944/antigravity-theme(pnpm add @django9944/antigravity-theme)
  • NPM 索引清单:dist/manifest.json(@django9944/antigravity-theme/manifest.json)
  • NPM 桌面运行时:@django9944/antigravity-theme/runtime/current.css · @django9944/antigravity-theme/runtime/current.js
  • NPM 分变体 Token:@django9944/antigravity-theme/<variant-id>/{variables.css,theme.json,code-theme.json,mermaid.json}

当前项目状态与本地开发

已知可用版本矩阵

| 宿主版本 | 主题版本 | 最低可直升版本 | 验证日期 | 来源 | | :--- | :--- | :--- | :--- | :--- | | 2.38.0 | v0.3.5 | v0.2.8 | 2026-12-06 | macOS 真机实测 + antigravity-watch.yml | | 2.38.0 | v0.3.4 | v0.2.8 | 2026-12-04 | antigravity-watch.yml (PR #66) |

pnpm install
pnpm typecheck
pnpm build            # 编译 14 套 OKLCH 主题与 dist/runtime/current.{css,js}
pnpm test             # 运行 DTCG/CSS Schema、APCA/WCAG 对比度、Shiki 与脚本回归测试(Vitest)
pnpm test:asar        # 运行零外部依赖的跨平台 ASAR 与沙盒安装器测试
pnpm doctor           # 一键诊断本机 Antigravity 客户端 app.asar 兼容性
pnpm check:host-compat -- --json
pnpm pack:release     # 打包标准包、macOS 包、Windows 包及 SHA256SUMS.txt
pnpm sync:readme      # 从 CHANGELOG.md 同步发版历史到中英文 README
pnpm preview          # 在 http://127.0.0.1:4173/preview/ 启动三栏交互仿真预览台

版本迭代记录(Release History & Iteration Log)

每次版本迭代发布(pnpm sync:readme / pnpm ci:version)时自动从 CHANGELOG.md 同步生成。

v0.3.7 (当前最新版本 / Latest)

  • 自动补丁发版:test(asar): add negative corruption tests and dual-line test summary (#78) (058e43b)

v0.3.6

  • 99c2896: Allow transitional engine-files.json, single-level lib/*.{sh,ps1}, and i18n/*.{sh,ps1} files across all updater allowlist checkpoints (assertStagingAllowlist, applyUpdate, and copyDirContents) so >= v0.3.5 installations can self-update cleanly to v0.5.0.

v0.3.5

  • 8d91671: Prevent floating portal rules from painting transparent Settings dropdown backdrops, overlays, and positioner wrappers opaque while keeping dropdown menus and submenus 100% opaque.

v0.3.4

  • 自动补丁发版:chore(host): sync verifiedHostVersion to 2.38.0 (#66) (903f31c)

v0.3.3

  • 734c512: Unify all floating menus, submenus, popovers, dropdowns, and confirmation modals to 100% opaque surfaces and restore visible hover/focus backgrounds on secondary modal buttons such as Cancel.

v0.3.2

  • 5e9382f: Prevent confirmation dialogs and nested Base UI submenus from bleeding background text through by excluding dialog popups from [data-base-ui-portal] popover rules and raising modal/popover surface opacity.

v0.3.1

  • ae706a6: Harden Windows install.ps1: enable Set-StrictMode -Version Latest, quote empty arguments as "" in Format-CmdArg, decode OEM output for Windows system commands (schtasks.exe), relaunch using the current PowerShell host executable (Get-CurrentPowerShellExe), align the running-client close prompt default to Y with install.sh, unregister scheduled tasks before deleting theme/engine directories even if theme files are locked, and separate final-verify rollback execution from failure reporting.
  • 6baf136: Skip full-document modal and maximize-button querySelectorAll scans in structObs during streaming frames unless added or removed nodes match modal or maximize-pane selectors, and merge the duplicate maximize-button queries into syncMaximizeControls.
  • 5b36ce4: Replace the boolean runtime singleton guard with versioned window.__antigravityThemeEngine lifecycle management (dispose() via AbortController, observer disconnects, timer/DOM/guard cleanup, and pagehide listener) and consolidate repeated toolbar and modal DOM selectors.

v0.3.0

  • fc81f60: Upgrade desktop ASAR hook to v3: resolve theme payloads strictly from absolute electron.app.getPath('userData') and platform HOME/APPDATA paths instead of process.resourcesPath, stop writing Resources/custom-theme into the Antigravity application bundle, and clean up legacy bundle theme directories during install/uninstall so subsequent hot-updates require zero bundle write privileges.
  • 9c79d30: Add English default CLI output with automatic Chinese (zh*) localization to install.sh and install.ps1 (overridable via AGT_LANG), and ship English check-update.command / check-update.bat launchers alongside 检查更新.command / 检查更新.bat.
  • 136a4f6: Write stock ASAR backups atomically with hash verification and metadata backfill, fsync rebuilt ASAR archives before closing, and report truthful rollback results without rolling back an unmodified app.asar.
  • f63a9a9: Classify install.sh bundle write failures into EPERM, EROFS, and EACCES (exiting with code 3) with actionable macOS App Management (系统设置 → 隐私与安全性 → App 管理), read-only volume/SIP, and sudo guidance instead of prompting with a generic error.
  • 9df21a2: Require explicit AGT_NODE_OK token and a 10-second timeout during installer JS runtime probes, probe runtimes only in engine modes, parse core/updater.js --format env in a single invocation, and report RunAsNode fuse state in doctor.
  • 2124ee2: Make hot updates transactional in core/updater.js (applyUpdate stages and verifies all target files before swapping them, commits manifest.json strictly last, and rolls back swapped files in reverse order on failure) and check target write permissions prior to downloading updates in install.sh and install.ps1.
  • 5826d71: Register Windows auto-heal scheduled tasks using Register-ScheduledTask with interactive current-user logon + 4-hour triggers, battery execution settings, a 10-minute execution limit, and conhost.exe --headless support on Windows 11 22H2+, migrating prior schtasks definitions cleanly.
  • ee7fdd8: Populate host base/dark stylesheets lazily on first activation, deduplicate constant tokens across variants, and compact embedded CSS in current.js.
  • 19d424a: Route all frosted-glass backdrop-filter declarations through custom properties cleared under prefers-reduced-transparency: reduce, including the theme switcher dropdown.
  • 6ba5bff: Revalidate cached, fetched, and DOM-stored release URLs against https://github.com/<owner>/<repo>/releases... before rendering or opening the update banner, falling back to the repository's /releases/latest page.
  • 60a9e1f: Leave native titlebar, theme color, and modal chrome untouched while in Stock mode, restore once on Stock switch, and add oklch() / lab() support to runtime color parsing.
  • eaa5d2c: Restore a visible :focus-visible ring on the titlebar theme switcher button and menu items, and include the update banner as a keyboard-reachable menuitem in the dropdown menu.

v0.2.8

  • 92f9937: Enforce Ed25519 release signature verification, exact platform asset matching, ZIP central-directory safety checks, manifest schema validation, and platform file allowlists in core/updater.js (fail closed on verification failure with exit code 4).

v0.2.7

  • baa06ad: GitHub releases now include SHA256SUMS.txt.sig, an Ed25519 signature over SHA256SUMS.txt, plus build provenance attestations for every ZIP and the npm tarball. The desktop manifest.json lists the public keys in releaseSigningKeys, and the README explains how to verify a download by hand. The updater does not require the signature yet.

v0.2.6

  • e9ab75a: Auto-heal now runs from a stable engine directory (~/Library/Application Support/antigravity-theme/engine on macOS, %LOCALAPPDATA%\antigravity-theme\engine on Windows) that every install refreshes, and existing LaunchAgents and scheduled tasks, including legacy ones, are repointed at it. This fixes macOS auto-heal failing silently with Operation not permitted and stale tasks restoring old theme files after a reinstall. Each run logs one timestamped result, a missing anchor is retried, and --doctor reports the auto-heal status.
  • a2cda43: Uninstall no longer restores a stale app.asar.stock over an updated Antigravity host: it strips the hook from the current app.asar, uses the backup only when app.asar.stock.json confirms the same host version and SHA-256, and otherwise leaves app.asar untouched.

v0.2.5

  • 自动补丁发版:fix(scripts): normalize CHANGELOG preamble after changeset version (d9df3ed); test(scripts): add preview server security tests, parity gates, and align bilingual docs (4c0005c); perf(core): stream-parse ASAR headers, unify Windows backup path, and smooth auto-heal (9791674); fix(runtime): add WAI-ARIA menu keyboard nav, reduced-motion rules, and strict Stock scoping (9dd3c65); fix(installer): add Fuse guard to Python fallback, protect PS1 BOM, and unify check-update (b127009); fix(core): harden updater HTTPS redirect allowlist, payload caps, and staging tree checks (a46698d)

v0.2.4

  • 修复打开内置浏览器侧边栏(data-has-browser-hole="true")时极光网格(Aurora Mesh)主题背景消失的问题,将 --shell 变量同步至主题顶栏色,并修复深浅模式下 [data-testid="browser-omnibox-pill"] 选择器优先级冲突。

v0.2.3

  • 自动补丁发版:优化 F16 语音呼吸动画为纯合成层渲染并新增 F20 Windows 每 4 小时定时自愈巡检(73af415);修复 F9 xterm 终端桥接对 Proxy 根样式声明的捕获(54e7dc6);为 F9 属性桥接增加快速路径并优化 F6 选区选择器(e240f58);同步 verifiedHostVersion 至 2.36.0(223a440)。

v0.2.2

  • 自动补丁发版:提升确认弹窗(Confirmation Modal)背景不透明度与毛玻璃模糊度(b9ad054)。

v0.2.1

  • 桌面运行时质感与性能打磨:改用纯黑悬浮投影与主题色系磨砂玻璃弹窗,解除总览面板与弹窗退场动画阻塞,优化折叠态模糊卸载与引擎体积,并完成 Hook v2 去重与安装器加固。
  • 自适应首页预览与文档对齐:新增明暗自适应 SVG 首页预览图与本地化发版历史同步,明确独立项目定位与安全/贡献治理规范。
  • 上游 2.35.2 兼容校验与全自动发版链路:验证 Antigravity 2.35.2 实机 app.asar 注入与字节级剥离完全兼容,同步 verifiedHostVersion 与上游基线,支持官方发版后自动更新、小改动自动补丁发版(v0.2.x)与自动提 PR。

v0.2.0

  • 7 大主题色系 × Dark / Light(14 款 OKLCH 变体)+ Stock 还原:在旗舰 Orbital(antigravity-dark、antigravity-light)基础上新增 6 大天文极光色系(prism、zenith、lagoon、solar、nova、nebula × Dark/Light),全量通过 APCA 与 WCAG 2.1 对比度门禁并支持无痕切回 stock。
  • 模块化语义桌面运行时(dist/runtime/current.{css,js}):新增由 SemanticIR 编译的桌面运行时,提供极光多层网格玻璃、右上角悬浮主题胶囊切换器、双媒体胶囊、xterm ANSI 桥接及弹窗质感优化。
  • 跨平台零重签 ASAR 安装器、自动自愈与安全热更新:新增 core/asar-patcher.js、core/updater.js、macOS(install.sh、*.command、LaunchAgent 自愈)及 Windows(install.ps1、*.bat、计划任务自愈),支持 SHA-256 校验与字节级原厂还原。
  • 升级版三栏预览工作台与三端发版流水线:在 preview/ 新增 7 色系选择器、极光网格背景舞台与仿真悬浮胶囊;pack-release.ts 同步输出标准包、-macos.zip、-windows.zip 与统一 SHA256SUMS.txt,并新增每日 antigravity-watch.yml CI 巡检。

v0.1.0

  • 初始 OKLCH Design Token 编译器与确定性多格式适配器(theme.json、variables.css、code-theme.json、mermaid.json)。
  • Option A(ADR-006)高不透明度磨砂玻璃调色板:Antigravity Dark(星轨岩板) 与 Antigravity Light(星轨云瓷)。
  • 交互式 Antigravity 2.0 Agent 桌面端三栏预览工作台(preview/)。
  • 自动化 Schema、宿主 CSS 覆盖率、极限玻璃对比度(APCA + WCAG 2.1)、L5 聚焦环/边框、DOM 堆叠 Diff 及 Shiki Tier-1 代码高亮回归测试套件。

工程治理、安全边界与社区规范

| 目标 | 入口 | | :--- | :--- | | 产品愿景与不合并边界(What We Will Not Merge) | VISION.md | | AI Agent 协作与架构分层守则 | AGENTS.md | | 贡献指南与人类所有权签字规范(Human Ownership Policy) | CONTRIBUTING.md | | 安全模型、ASAR 信任边界与漏洞上报 | SECURITY.md | | 维护者职责与交接清单 | MAINTAINERS.md | | 社区行为准则(Contributor Covenant v2.1) | CODE_OF_CONDUCT.md | | 第三方开源组件声明 | THIRD_PARTY_NOTICES.md |

开源协议

  • Copyright (c) 2026 Django9944 and Antigravity Theme Contributors(MIT License · 第三方组件声明)。
  • 免责声明:本项目为独立的非商业开源社区主题工具,与 Google 或 Antigravity 官方无关联。ASAR 补丁仅在本地修改 app.asar 样式入口且不改动 Info.plist 与 _CodeSignature,随时可通过 --uninstall 字节级恢复原厂状态。