name = "ligbox-onboard-agents"
main = "src/index.ts"
compatibility_date = "2025-02-14"
account_id = "2d504d7a78dd787696fe1c703fb001c1"

[vars]
VM112_API_BASE = "https://onboard.ligbox.com.br/api"

# Rota pública (activar após 1º deploy OK)
# routes = [{ pattern = "agents.ligbox.com.br/*", zone_name = "ligbox.com.br" }]

[[durable_objects.bindings]]
name = "ONBOARD_MAESTRO"
class_name = "OnboardMaestro"

[[durable_objects.bindings]]
name = "PROJ_MAIL_AGENT"
class_name = "ProjMailAgent"

[[durable_objects.bindings]]
name = "CF_ZONE_AGENT"
class_name = "CfZoneAgent"

[[durable_objects.bindings]]
name = "CF_HANDOFF_AGENT"
class_name = "CfHandoffAgent"

[[migrations]]
tag = "v1"
new_sqlite_classes = ["OnboardMaestro", "ProjMailAgent", "CfZoneAgent", "CfHandoffAgent"]
