feat: add config schema and loader with env var expansion

This commit is contained in:
William Valentin
2026-02-02 20:54:19 -08:00
parent 75e64b534d
commit 4adf172c25
5 changed files with 206 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
# Flynn Configuration
# Copy to ~/.config/flynn/config.yaml and customize
telegram:
bot_token: ${FLYNN_TELEGRAM_TOKEN}
allowed_chat_ids: [] # Add your Telegram chat ID
server:
tailscale_only: true
localhost: true
port: 18800
models:
default:
provider: anthropic
model: claude-sonnet-4-20250514
hooks:
confirm:
- shell.*
- file.write
log:
- web.*
- file.read
silent:
- notify