Repository navigation
Expand file tree
/
Copy path.env.example
More file actions
35 lines (31 loc) · 1.51 KB
/
Copy path.env.example
File metadata and controls
35 lines (31 loc) · 1.51 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
# Copy to .env and fill in. .env is gitignored — never commit real values.
# The bot token gates prompt injection into an elevated Claude: treat it as
# sensitive as a shell on this machine.
# --- Required ---
# Keep these COMMENTED until you have real values. An empty value is worse than
# an absent one: config.py does int(os.environ.get("BRIDGE_CHAT_ID", "0")), and
# the "0" default only applies when the var is unset, so a bare
# `BRIDGE_CHAT_ID=` crashes at import with ValueError.
#
# From @BotFather:
# BRIDGE_BOT_TOKEN=123456:ABC-your-token-here
# Your private chat id (message @userinfobot). Send the bot /start once first,
# or its opening message fails with "Chat not found".
# BRIDGE_CHAT_ID=123456789
# --- Paths ---
# Windows default is D:\Projects; POSIX default is ~/projects.
# BRIDGE_WORKDIR=/Users/you/projects
# Only needed if the claude CLI is not on PATH.
# BRIDGE_CLAUDE_BIN=/Users/you/.local/bin/claude
# Sibling checkouts, defaulted to <BRIDGE_WORKDIR>/<name>. Override only if you
# keep them elsewhere. Both features degrade quietly when the path is missing:
# x-reader powers the fetch_content / route_model tools; the second-brain wiki
# grounds prompt refinement (it falls back to an embedded rubric).
# BRIDGE_XREADER_DIR=/Users/you/projects/x-reader
# BRIDGE_SECOND_BRAIN_DIR=/Users/you/projects/second-brain
# --- Optional ---
# BRIDGE_MODEL=sonnet
# BRIDGE_GROUP_ID=
# OPENAI_API_KEY= # voice transcription + TTS
# GROQ_API_KEY= # transcription fallback
# BRIDGE_MONTHLY_BUDGET_USD=