Leakdown

Everything the CLI reads from .env.

The CLI reads .env from the folder you run it in. Every variable is optional until you need the feature behind it. Never commit .env.

Mail

These four variables turn on per-prospect mailboxes.

VariableValue
LEAKDOWN_IMAP_HOSTYour IMAP server, e.g. imap.gmail.com
LEAKDOWN_IMAP_USERThe inbox login
LEAKDOWN_IMAP_PASSAn app password
LEAKDOWN_MAIL_DOMAINA domain whose catch-all forwards to that inbox
LEAKDOWN_IMAP_PORTOptional. The port, for a host that is not on 993
LEAKDOWN_IMAP_TLSOptional. TLS is on unless this is exactly "false"

An external judge

Three questions have a yes or no answer rather than prose: was the goal reached, which flow checkpoints were reached, and does the page show an --expect value in other words. Your AI CLI answers them by default.

VariableValue
LEAKDOWN_JUDGEOptional. A module path that exports createJudge(); it answers those three instead

Its usage is recorded apart from the brain's, as usageJudge in meta.json. A judge that is missing, broken or slow never ends a session: each ruling it cannot make falls back to the same inconclusive path a failed model call takes.

Website orders

These two variables let the CLI pick up requests from the website.

VariableValue
LEAKDOWN_ORDERS_URLThe request site's production URL
LEAKDOWN_ORDERS_TOKENThe site's ORDERS_TOKEN
.env
LEAKDOWN_IMAP_HOST=
LEAKDOWN_IMAP_USER=
LEAKDOWN_IMAP_PASS=
LEAKDOWN_MAIL_DOMAIN=
LEAKDOWN_IMAP_PORT=
LEAKDOWN_IMAP_TLS=
LEAKDOWN_ORDERS_URL=
LEAKDOWN_ORDERS_TOKEN=
LEAKDOWN_JUDGE=

Passed to your AI CLI

ANTHROPIC_API_KEY, OPENAI_API_KEY and their *_BASE_URL reach the AI CLIs if you set them. That path is untested.

Ask the docsalpha
Open full page ↗

Ask the docs anything

Exact paragraphs, their source, and a straight no when the docs do not cover it.

Powered by Jev Alpha — it can pick the wrong paragraph, so check the page it links to

Answers are copied from the docs, never written. Type /help for commands.