# Generated by: pitag setup # Or edit manually. See: pitag help # Required # Bot token (OAuth & Permissions page), must start with xoxb- SLACK_BOT_TOKEN=xoxb-your-bot-token-here # App-level token with connections:write for Socket Mode, must start with xapp- SLACK_APP_TOKEN=xapp-your-app-token-here # Pi agent configuration PI_BIN=pi PI_MODEL= PI_THINKING= # Default working directory for pi (defaults to your home directory). # Override per channel with: # pitag register --cwd /path/to/project # PI_CWD=/path/to/your/projects PI_EXTRA_FLAGS= # Gateway behavior TRIGGER_NAME=pi MAX_CONCURRENCY=3 MAX_SCHEDULED_CONCURRENCY=1 POLL_INTERVAL_MS=1000 SHUTDOWN_TIMEOUT_MS=15000 # Channel access: allowlist (only registered channels), open-trigger # (auto-register, respond on @trigger), or open (auto-register, respond to all) CHANNEL_POLICY=allowlist # Channel IDs the gateway must never auto-register (comma-separated) EXCLUDED_CHANNELS= # DM access: open (auto-register on first DM), allowlist, or disabled DM_POLICY=open # Post responses into the triggering message's thread when it has one REPLY_IN_THREAD=true MAX_ATTACHMENT_BYTES=26214400 MAX_TOTAL_ATTACHMENT_BYTES=52428800 # Downloaded attachment files are passed to pi by local path and kept for this long. MEDIA_RETENTION_HOURS=168 # Archived sessions (after /pi new) are deleted after this many days (0 = keep forever) ARCHIVE_RETENTION_DAYS=30 # Storage examples # If left unset, the built-in defaults are under ~/.local/share/pitag/ # SESSIONS_DIR=./sessions # DB_PATH=./gateway.db # Logging LOG_LEVEL=info