Rename clawdie-freebsd skill to agent-setup, add AGENT_NAME as single source of truth in config.ts, split database config into skills DB + memory DB, and add working Astro Starlight example for CMS integration testing. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
48 lines
1.5 KiB
Text
48 lines
1.5 KiB
Text
# Agent identity — set during onboarding TUI
|
|
# AGENT_NAME drives all system identifiers (user, service, ZFS, DB names)
|
|
AGENT_NAME=clawdie
|
|
ASSISTANT_NAME=Clawdie
|
|
|
|
# Primary engine for fresh installs
|
|
AGENT_ENGINE=pi-tui
|
|
PI_TUI_BIN=pi
|
|
PI_TUI_PROVIDER=zai
|
|
PI_TUI_MODEL=glm-5
|
|
|
|
# Primary API key for pi
|
|
ZAI_API_KEY=
|
|
|
|
# Optional alternative providers supported by pi
|
|
# OPENAI_API_KEY=
|
|
# ANTHROPIC_API_KEY=
|
|
# GEMINI_API_KEY=
|
|
# OPENROUTER_API_KEY=
|
|
|
|
# Channels
|
|
TELEGRAM_BOT_TOKEN=
|
|
|
|
# Domain — set your real domain here. Defaults to ${AGENT_NAME}.local
|
|
AGENT_DOMAIN=clawdie.local
|
|
WARDEN_CONTROL_PLANE_HOSTNAME=controlplane.clawdie.local
|
|
|
|
# Warden jail network — choose your private subnet at bootstrap.
|
|
# Code defaults to 10.0.0.x if these are not set.
|
|
# Common choices: 192.168.100.x, 10.0.0.x, 172.16.50.x
|
|
WARDEN_SUBNET_BASE=10.0.0
|
|
WARDEN_SUBNET=10.0.0.0/24
|
|
WARDEN_GATEWAY=10.0.0.1
|
|
WARDEN_CONTROL_PLANE_IP=10.0.0.100
|
|
|
|
# PostgreSQL — two-brain architecture (both in db jail)
|
|
# Skills DB: ships with repo, restored from dump, read-only at runtime
|
|
# Memory DB: user data, grows with conversations, needs backups
|
|
# Generate passwords with: python3 -c "import secrets; print(secrets.token_urlsafe(24))"
|
|
POSTGRES_ADMIN_PASSWORD=
|
|
MEMORY_DB_PASSWORD=
|
|
SKILLS_DB_URL=postgresql://${AGENT_NAME}_reader@10.0.0.2:5432/${AGENT_NAME}_skills
|
|
MEMORY_DB_URL=postgresql://${AGENT_NAME}_brain@10.0.0.2:5432/${AGENT_NAME}_brain
|
|
STRAPI_DB_PASSWORD=
|
|
|
|
# Nginx basic auth (defaults to AGENT_NAME if not set)
|
|
SCREENSHOTS_USER=clawdie
|
|
SCREENSHOTS_PASSWORD=
|