editor
Slatewave for Antigravity
The Slatewave VSCode extension, installed into Google's Antigravity IDE from the Open VSX gallery.
- Latest release
- 0.0.9 · last month
- Last commit
- 3 weeks ago
// src/lib/github.ts
import { mkdir, readFile, writeFile } from 'node:fs/promises';
import { join } from 'node:path';
const CACHE_DIR = join(process.cwd(), 'node_modules', '.cache', 'slatewave-github');
const TTL_MS = 30 * 60 * 1000;
export interface RepoMeta {
stars: number;
pushedAt: string;
defaultBranch: string;
openIssues: number;
latestRelease: Release | null;
}
export interface Release {
tag: string;
name: string;
publishedAt: string;
url: string;
}
const memory = new Map<string, Promise<unknown>>();
function cacheKey(parts: string[]): string {
return parts.join('__').replace(/[^a-zA-Z0-9_]/g, '_');
}
async function readCache<T>(key: string): Promise<T | null> {
try {
const raw = await readFile(join(CACHE_DIR, `${key}.json`), 'utf8');
const parsed = JSON.parse(raw) as { data: T; at: number };
if (Date.now() - parsed.at < TTL_MS) return parsed.data;
} catch {
/* no cache yet */
}
return null;
}About this theme
Antigravity is Google's agentic VSCode fork. Microsoft's marketplace ToS forbid forks from accessing it, so Antigravity ships pointed at Open VSX — Slatewave installs from there with the same VSIX, same workbench tokens, same syntax mapping.
Antigravity is Google’s VSCode fork built around the agentic Agent Manager workflow. It speaks the same VSIX format and reads the same workbench color tokens as VSCode — but Microsoft’s marketplace Terms of Service prohibit forks from accessing the Visual Studio Marketplace, so Antigravity is pointed at the Open VSX gallery instead.
The canonical Slatewave for VSCode extension is published to Open VSX, so the install path is short: search Slatewave in the Extensions panel, or one of the CLI / VSIX paths above.
Heads-up: if you also have VSCode or Cursor installed, don’t use
code --install-extensionfor Antigravity — it’ll install into VSCode/Cursor, not Antigravity. Theantigravitybinary is the only one that targets Antigravity’s extensions directory.slatewave install antigravityshells out to the right binary automatically.
Install
Don't have the CLI yet? Install the Slatewave CLI →
-
Slatewave CLI
One command on macOS, Linux, or Windows. Wraps `antigravity --install-extension` and tracks the install in slatewave's state so `slatewave uninstall antigravity` reverses it cleanly later — independent of any VSCode / Cursor / VSCodium installs alongside.
slatewave install antigravity -
Extensions panel
Open ↗Inside Antigravity, open the Extensions panel (⇧⌘X / Ctrl+Shift+X), search **Slatewave**, and click Install. Antigravity reads from Open VSX exclusively.
-
Antigravity CLI
Install with the `antigravity` command-line tool. On macOS the binary lives at `/Applications/Antigravity.app/Contents/Resources/app/bin/antigravity` if it isn't already on your $PATH.
antigravity --install-extension kevinlangleyjr.slatewave -
VSIX from OpenVSX
Click **Download** on the OpenVSX extension page, then either drag the .vsix into Antigravity or run the CLI command below.
antigravity --install-extension ~/Downloads/slatewave-*.vsix