BlankLogic Refinery
Clean code and redact secrets before AI sees them — right inside VS Code or Cursor.
BlankLogic Refinery removes tracker noise, boilerplate, and obvious secrets from the code you send to LLMs. Everything runs locally through the Refinery CLI. No upload of your source to BlankLogic servers.
What's new in 0.2.0
- Version alignment with BlankLogic 0.2.0 release train (proxy whitelist/graph, MCP telemetry hardening).
- README hero image uses stable
blanklogic.io URL for npm and marketplace listings.
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.
Privacy
- Runs locally via the Refinery CLI.
- Does not send editor content to BlankLogic servers.
- Does not require a BlankLogic account for local commands.
- Provider API keys are never handled by this extension.
Support