BlankLogic Refinery
Clean code and redact secrets before AI sees them — right inside VS Code or Cursor.
For Cursor agents, prefer the MCP server: npx @blanklogic/refinery-mcp (see npm README). This extension is for editor selection cleanup via the CLI.
What's new in 0.2.5
- Coordinated 0.2.5 release — points to MCP as primary agent install path.
- Open VSX and Marketplace VSIX use stable
blanklogic.io image URLs.
Saved tokens or caught a secret?
If BlankLogic trimmed noise, redacted secrets, or cut token waste for you, a quick review helps others find it:
Install
What it does
- Select code in the editor.
- Run BlankLogic: Clean Selection for AI — de-bloats HTML/code/logs and redacts obvious secrets.
- Or run BlankLogic: Scan Secrets — reports secret count and offers to replace the selection.
The extension shells out to @blanklogic/refinery via npx by default. Your files stay on your machine.
Commands
| Command |
Action |
BlankLogic: Clean Selection for AI |
Full clean pipeline on the current selection |
BlankLogic: Scan Secrets |
Sanitize-only pass with secret count |
Settings
Default runtime (works out of the box):
{
"blanklogic.cliPath": "npx",
"blanklogic.cliArgs": ["@blanklogic/refinery"]
}
For a pinned global install:
{
"blanklogic.cliPath": "/usr/local/bin/refinery",
"blanklogic.cliArgs": []
}
blanklogic.cloudRefine.enabled stays false by default. Local cleanup is the supported path.
Cloud credits (optional)
Extension commands run locally. For server-side cleanup (larger payloads, Cloud Refine, or Cloud AI), use the Refinery web app:
blanklogic.io/refinery/#cloud-credits — Beta Token Pack ($5 / 500 runs) or Founder pass ($50).
Privacy
- Runs locally via the Refinery CLI.
- Does not send editor content to BlankLogic servers for local commands.
- Does not require a BlankLogic account for local commands.
- Provider API keys are never handled by this extension.
Support