/**
 * For more details on how to configure Wrangler, refer to:
 * https://developers.cloudflare.com/workers/wrangler/configuration/
 */
{
    "$schema": "node_modules/wrangler/config-schema.json",
    "name": "inspiration-repo-agent",
    "account_id": "a19f770b9be1b20e78b8d25bdcfd3bbd",
    "main": ".open-next/worker.js",
    "compatibility_date": "2025-03-01",
    "compatibility_flags": [
        "nodejs_compat",
        "global_fetch_strictly_public"
    ],
    "route": "agents.nicholai.work",
    "vars": {
        // LLM Configuration (Vercel AI SDK)
        "OPENROUTER_API_KEY": "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",
        "OPENROUTER_MODEL": "anthropic/claude-haiku-4.5",
        // RAG Configuration (Qdrant)
        "QDRANT_URL": "",
        "QDRANT_API_KEY": "",
        // Agent Configuration (legacy - can be removed after migration)
        "AGENT_1_URL": "https://n8n.biohazardvfx.com/webhook/d2ab4653-a107-412c-a905-ccd80e5b76cd",
        "AGENT_1_NAME": "Repoguide",
        "AGENT_1_DESCRIPTION": "Documenting the development process.",
        "AGENT_2_URL": "https://n8n.biohazardvfx.com/webhook/0884bd10-256d-441c-971c-b9f1c8506fdf",
        "AGENT_2_NAME": "Morgan",
        "AGENT_2_DESCRIPTION": "System Prompt Designer",
        "CUSTOM_AGENT_WEBHOOK": "https://n8n.biohazardvfx.com/webhook/7cbdc539-526f-425f-abea-0886ec4c1e76",
        // Feature Flags
        "IMAGE_UPLOADS_ENABLED": "true",
        "DIFF_TOOL_ENABLED": "true"
    },
    "assets": {
        "binding": "ASSETS",
        "directory": ".open-next/assets"
    },
    "observability": {
        "enabled": true
    }
    /**
	 * Smart Placement
	 * Docs: https://developers.cloudflare.com/workers/configuration/smart-placement/#smart-placement
	 */
    // "placement": { "mode": "smart" }
    /**
	 * Bindings
	 * Bindings allow your Worker to interact with resources on the Cloudflare Developer Platform, including
	 * databases, object storage, AI inference, real-time communication and more.
	 * https://developers.cloudflare.com/workers/runtime-apis/bindings/
	 */
    /**
	 * Environment Variables
	 * https://developers.cloudflare.com/workers/wrangler/configuration/#environment-variables
	 */
    // "vars": { "MY_VARIABLE": "production_value" }
    /**
	 * Note: Use secrets to store sensitive data.
	 * https://developers.cloudflare.com/workers/configuration/secrets/
	 */
    /**
	 * Static Assets
	 * https://developers.cloudflare.com/workers/static-assets/binding/
	 */
    // "assets": { "directory": "./public/", "binding": "ASSETS" }
    /**
	 * Service Bindings (communicate between multiple Workers)
	 * https://developers.cloudflare.com/workers/wrangler/configuration/#service-bindings
	 */
    // "services": [{ "binding": "MY_SERVICE", "service": "my-service" }]
}
