Repository navigation
Expand file tree
/
Copy pathvela.env.example
More file actions
135 lines (114 loc) · 6.99 KB
/
Copy pathvela.env.example
File metadata and controls
135 lines (114 loc) · 6.99 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
# Vela configuration — copy to /etc/vela.env on the board
# (or keep next to the binary as ./vela.env). Legacy NANOCLAW_* keys in
# /etc/nanoclaw.env or ./nanoclaw.env still work during the rename.
# Discord bot token — https://discord.com/developers/applications
# Enable the MESSAGE CONTENT intent under Bot settings.
DISCORD_TOKEN=
# DeepSeek API key — https://platform.deepseek.com
DEEPSEEK_API_KEY=
# Channels answered WITHOUT an @mention (comma-separated channel IDs).
# Everywhere else the bot answers when @mentioned, and in DMs.
FOCUS_CHANNELS=
# Where memory, history, and artifacts live — point at the microSD mount.
VELA_DATA=/mnt/sd/vela
# deepseek-chat (tool calling, cheap) — deepseek-reasoner has no tool support.
# If your account has a flash-tier model, use it: Vela is built around the
# looper play (cheap model × more passes > pricey model × one shot).
VELA_MODEL=deepseek-chat
# Self-review passes on NORMAL turns (1-8). Default 1: answer once, stay
# snappy — looping every reply made her feel slow. The looper play (draft →
# critique → repair, with a doubled tool budget) lives in the /dive command;
# VELA_DIVE_PASSES sets its passes (default 2).
VELA_PASSES=1
VELA_DIVE_PASSES=2
# Vision model — reads images sent to Discord (snap a card, ask its value; drop
# a screenshot, ask about it). Must be a multimodal model on your endpoint.
# Blank disables image reading. Default: stepfun/step-3.7-flash.
VELA_VISION_MODEL=stepfun/step-3.7-flash
# ── Group presence & learning (2.0) ─────────────────────────────────────
# How chatty Vela is UNPROMPTED in guild channels (0-1). She reads everything,
# scores interest locally (free), and occasionally chimes in when a channel's
# accumulated willingness clears the bar. 0 = never speaks unless mentioned /
# DM'd / focus channel. Default 0.3 — present but not noisy.
VELA_TALK_VALUE=0.3
# Continuous learning: per-person impressions (updated every ~45 messages) and
# per-channel expression learning (how each room talks, every ~6h). "off"
# disables both. Default on.
VELA_LEARNING=on
# Brave Search API key (optional) — a real search API instead of scraping
# DuckDuckGo HTML. Get one at https://brave.com/search/api/. Without it,
# web_search falls back to DDG. The tcg + attach_image tools need no key.
BRAVE_API_KEY=
# ── Code capability (optional): shell, files, git push ──────────────────
# Discord user IDs allowed to run shell/build/git — comma-separated. THIS IS
# ROOT-LEVEL TRUST: a shell can read the process env and any secret the bot
# holds, so only add people you trust with the whole box.
# Blank = the code capability is completely off.
VELA_CODERS=
# Where code lives and shell runs (defaults to <VELA_DATA>/workspace).
VELA_WORKSPACE=
# Vela's OWN GitHub token — enables authenticated `git push`. A coder shell can
# read this from the environment, so scope it to blast radius: a FINE-GRAINED
# PAT limited to her own repos, contents + pull-request write only, NO admin,
# and treat it as rotatable/burnable.
GITHUB_TOKEN=
GIT_NAME=Vela
GIT_EMAIL=
# GitHub API tool (create repos, write files, open PRs — acts as Vela's own
# account via GITHUB_TOKEN). This runs NO code on the box, so it's open to the
# whole server by default. Restrict it to these Discord IDs; blank = everyone.
# (Actually running/building code is the separate VELA_CODERS shell.)
VELA_REPO_USERS=
# Private Rails template used by create_rails_app (owner/repo). The canonical
# foundation remains private, but every application Vela generates from it is
# created as a PUBLIC, forkable repository. Leave blank to hide that action.
VELA_RAILS_TEMPLATE=
# Local checkout of the Rails foundation (absolute path). Used by app_spec to
# validate module names against config/foundation/modules/*.yml at runtime —
# never a hardcoded list. Required for the application specification stage.
VELA_FOUNDATION_ROOT=
# ── Moderation (optional) ───────────────────────────────────────────────
# Discord user IDs allowed to have Vela moderate (timeout/kick/ban/delete/
# slowmode) — comma-separated. Blank = moderation is OFF and the tool is not
# even offered. The BOT also needs the matching server permissions (Moderate
# Members, Kick, Ban, Manage Messages, Manage Channel) and the Server Members
# gateway intent (enable it under Bot settings).
VELA_MODS=
# ── Deploy secrets ──────────────────────────────────────────────────────
# Deploy keys (Hetzner, etc.) are added on the box — KEY=VALUE lines in
# <VELA_DATA>/secrets.env — never typed in chat. Values are injected into shell as
# env vars BY NAME, never enter the model's context/history/memory, and are
# wiped by clear_secrets or the TTL below.
# Auto-wipe backstop in minutes (1-1440, default 120):
VELA_SECRET_TTL_MIN=120
# ── Image & video generation via xAI / Grok (optional) ──────────────────
# TWO ways to authenticate — pick either:
# 1. A SuperGrok / X Premium+ SUBSCRIPTION via OAuth — no key needed. An admin
# runs `/grok login` in Discord, opens the link, approves, done. Tokens are
# stored on the SD (grok-auth.json, 0600) and auto-refresh. Nothing to set
# here for this path.
# 2. A pay-as-you-go API key from https://console.x.ai (billed by credits):
XAI_API_KEY=
XAI_API_URL=https://api.x.ai/v1
XAI_IMAGE_MODEL=grok-imagine-image-quality
XAI_VIDEO_MODEL=grok-imagine-video-1.5
# Restrict who can spend on generation to these Discord IDs; blank = everyone.
VELA_IMAGE_USERS=
# ── Model-release tracking (optional) ───────────────────────────────────
# Hugging Face orgs to watch for new releases (comma-separated). Blank uses a
# sensible default set (deepseek-ai, Qwen, meta-llama, mistralai, google,
# openai, microsoft, nvidia, moonshotai, zai-org). No API key needed.
VELA_MODEL_ORGS=
# ── Holodex demo hosting (optional) ────────────────────────────────────
# Vela's own demo sandbox (github.com/novaoc/holodex) — she deploys apps she builds and shares
# a live link on your domain; the whole deck wipes daily at 3AM Mexico City (repos
# are the permanent copy). Token must match the Holodex server's.
VELA_SANDBOX_URL=
VELA_SANDBOX_TOKEN=
# Shared HMAC secret proving deploys are Vela's own builds (must match Holodex's
# HOLODEX_BUILD_SECRET). Without it, deploy_demo is off.
VELA_SANDBOX_SECRET=
# ── /request forum ──────────────────────────────────────────────────────
# Forum channel where /request opens goal posts (name or id). Default: a
# forum channel named "requests".
VELA_REQUESTS_FORUM=requests