README gains feature bullets for notifications and the 'hey superbrain' automations (what they do, the propose-then-confirm model, the honest cannot-do list, AI_* configuration, pointer to the usage guide). RUNNING.md gains a dedicated 'AI automations' section: setup (AI_API_KEY/ AI_MODEL/AI_BASE_URL, OpenRouter default, any OpenAI-compatible gateway, graceful degradation without a key), step-by-step usage with example phrasings, the one-condition-one-action capability boundary (no logins, no bookings, no chaining, no destructive actions), safety and limits (validated specs, untrusted page content, netguard fetches, email caps, what data reaches the provider), and a symptom/fix troubleshooting table covering the 503/422/502 paths and run-outcome meanings.
This commit is contained in:
@@ -168,6 +168,24 @@ install it); the index-backed page search depends on it.
|
||||
including watches enabled with the original mailbox-watch switch. The
|
||||
scheduler runs users with bounded concurrency, per-user failure backoff,
|
||||
and a database-backed lease so extra instances never double-poll a mailbox.
|
||||
- Notifications: delivery channels (email via the server's SMTP relay,
|
||||
Slack webhooks, Matrix rooms, Telegram bots) and rules that fire when a
|
||||
new mailbox signal arrives or a bookmark comes due. Channel secrets are
|
||||
encrypted at rest and never echoed back; availability follows your plan.
|
||||
Configure in Settings → Notifications.
|
||||
- **AI automations ("hey superbrain")**: describe an automation in plain
|
||||
language — *"when the round trip on https://… drops below $400, email
|
||||
david@example.com"* — and Superbrain compiles it into a task you review
|
||||
and confirm before anything is saved. Tasks watch a public web page on a
|
||||
schedule (one extracted fact per check, e.g. a price threshold) or react
|
||||
to new mailbox signals, then notify a channel, email a recipient, or save
|
||||
a bookmark. The AI only ever *proposes* validated specs; actions are a
|
||||
fixed, bounded set (no logins, no bookings, no deletes, no multi-step
|
||||
chains yet), every fetch goes through the same private-range network
|
||||
guard as previews, and email actions are hard-capped. Requires
|
||||
`AI_API_KEY` (OpenRouter by default; any OpenAI-compatible gateway via
|
||||
`AI_BASE_URL`/`AI_MODEL`); without it, signal-based tasks still run.
|
||||
Usage guide: RUNNING.md → "AI automations". Settings → Automations.
|
||||
|
||||
### Connecting Authelia (OIDC)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user