-
Notifications
You must be signed in to change notification settings - Fork 1
Publishing & Development
abhayhiwse-hub edited this page Sep 7, 2026
·
1 revision
Reference guide for building, testing, and distributing the Antigravity Usage Intelligence extension.
- Node.js: v18.0.0 or higher
- npm: v9.0.0 or higher
- Python: v3.8 or higher
- VS Code or Antigravity IDE
git clone https://github.com/Nir-Bhay/antigravity-usage-intelligence.git
cd antigravity-usage-intelligence
npm installnpm testThis tests:
-
extension.jsNode syntax (node -c). -
src/quota_detector.jsNode syntax (node -c). -
collector.pyPython bytecode compilation (python -m py_compile).
To build a standalone .vsix distribution package:
npx @vscode/vsce package --no-git-tag-versionThis produces antigravity-usage-intelligence-<version>.vsix containing only production assets:
extension.jscollector.pypackage.jsonREADME.mdCHANGELOG.mdLICENSE-
assets/icon.png(128x128px icon) assets/icon.svgassets/demo.pngsrc/quota_detector.jssrc/ui/dashboard.html
Open VSX powers alternative editors including Cursor, VSCodium, Windsurf, Trae, Gitpod, and Theia.
- Namespace:
nirbhay-hiwse - CLI Publish Command:
npx ovsx publish antigravity-usage-intelligence-<version>.vsix -p <OPEN_VSX_PAT>
- Web Listing: https://open-vsx.org/extension/nirbhay-hiwse/antigravity-usage-intelligence
- Publisher ID:
nirbhay-hiwse - Web Management Portal: marketplace.visualstudio.com/manage
- Drag & drop upload: Direct
.vsixupload under publishernirbhay-hiwse. - CLI Publish Command:
npx @vscode/vsce publish -p <AZURE_DEVOPS_PAT>
The repository includes an automated GitHub Actions pipeline (.github/workflows/publish.yml):
-
Triggers:
- On GitHub Release published
- On Git tag pushed (
v*) - Manual dispatch via GitHub Actions tab
-
Automated Steps:
- Runs cross-platform syntax and compilation tests.
- Packages the clean
.vsix. - Publishes to Open VSX using
secrets.OVSX_PAT. - Publishes to Visual Studio Marketplace if
secrets.VSCE_PATis configured. - Uploads the
.vsixasset directly to the GitHub Release.
Antigravity Usage Intelligence · 100% Offline & Private · Open Source under MIT License · GitHub