-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
77 lines (61 loc) · 2.88 KB
/
Copy path.env.example
File metadata and controls
77 lines (61 loc) · 2.88 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
# Stargate — Environment Variable Reference
#
# Copy this file to .env and fill in your values.
# Secrets (bot token, Apple allowlist) can be loaded from macOS Keychain
# automatically if configured; the env vars here serve as fallbacks or for
# running on machines without a Keychain store.
#
# bridge.py loads .env via python-dotenv on startup.
# auth_server.py does the same.
# ---------------------------------------------------------------------------
# BRIDGE — Required
# ---------------------------------------------------------------------------
# Telegram bot token. Loaded from Keychain/Proton Pass automatically;
# only needed here as a fallback on machines without those stores.
TELEGRAM_BOT_TOKEN=
# ---------------------------------------------------------------------------
# BRIDGE — Optional
# ---------------------------------------------------------------------------
# Comma-separated Telegram user IDs that may interact with the bot.
# If empty, all users can send messages (not recommended in production).
# Example: ALLOWED_USER_IDS=123456789,987654321
ALLOWED_USER_IDS=
# Absolute path to the claude binary.
# Default: /opt/homebrew/bin/claude
CLAUDE_PATH=/opt/homebrew/bin/claude
# Root directory that Claude sessions run in.
# Default: ~/Developer
CLAUDE_WORKING_DIR=~/Developer
# Path to the Fanta PA plugin directory (used for Pac-Man queue routing).
# Default: ~/Developer/Fanta
PA_PLUGIN_DIR=~/Developer/Fanta
# Claude session expiry in seconds (how long idle sessions are kept alive).
# Default: 259200 (3 days)
SESSION_EXPIRY=259200
# Hard timeout for a single Claude invocation in seconds.
# Default: 2700 (45 minutes)
MAX_TIMEOUT=2700
# Maximum agentic turns per Claude invocation.
# Default: 30
MAX_TURNS=30
# Number of parallel agent session worker threads.
# Default: 4
MAX_WORKERS=4
# ---------------------------------------------------------------------------
# MOP (Model Output Protocol — cc-sdk-mop harness)
# ---------------------------------------------------------------------------
# Directory of YAML rule files to load. REQUIRED for cc-sdk-mop — without
# it MOP loads zero rules and the Stop hook still enforces "must call
# submit_message", but no content rules apply. Point at the active/
# subdirectory of a model-output-protocol checkout.
MOP_RULES_DIR=/Users/you/Developer/model-output-protocol/rules/active
# LLM backend for the rule evaluator. Default: haiku
MOP_LLM_BACKEND=haiku
# Where MOP appends violation events.
MOP_LOG_PATH=/Users/you/Developer/patchbay-relay/logs/mop-violations.jsonl
# Verbose mode — when truthy ("1", "true", "yes", "on"), every MOP verdict
# (accepted / rewritten / rejected / failed-open) is mirrored to the chat
# as a separate diagnostic message. Rejected messages also show the
# original text and the violation reasons (normally invisible). Use while
# tuning rules or debugging delivery; turn off in steady state.
MOP_VERBOSE=0