# Dispatch — Key & Permission Configuration
# Credentials and API keys are stored in the SQLite database.
# Use the Model Status panel to import credentials, or run bin/import-credentials.ts.

# ─── API Keys ───────────────────────────────────────────────────

[[keys]]
id = "claude-pro"
provider = "anthropic"
base_url = "https://api.anthropic.com/v1"
credentials_file = "/home/tradam/.claude/.credentials-pro.json"

[[keys]]
id = "claude-max"
provider = "anthropic"
base_url = "https://api.anthropic.com/v1"
credentials_file = "/home/tradam/.claude/.credentials-max.json"

[[keys]]
id = "opencode-1"
provider = "opencode-go"
base_url = "https://opencode.ai/zen/go/v1"

[[keys]]
id = "opencode-2"
provider = "opencode-go"
base_url = "https://opencode.ai/zen/go/v1"# ─── Permissions ─────────────────────────────────────────────────

[permissions]
read = "allow"

[permissions.edit]
"*" = "ask"
"src/**" = "allow"

[permissions.bash]
"npm test" = "allow"
"npm run *" = "allow"
"git status" = "allow"
"git diff" = "allow"
"git log *" = "allow"
"git branch *" = "allow"
"git add *" = "allow"
"git commit *" = "allow"
"git push *" = "allow"
"ls *" = "allow"
"*" = "ask"

[permissions.external_directory]
"~/*" = "ask"
"/tmp/*" = "allow"
