Migrate Ava's Developer.hs to use agentd HTTP API instead of direct Agent.runAgent.
Current state:
Target state:
POST /agents with prompt, workspace, modelGET /agents/:id for status (or uses webhook)Implementation: 1. Add HTTP client for agentd API in Developer.hs 2. Replace runOrchestrator logic with:
3. Status message updates from webhook or polling 4. Handle agent completion via webhook callback
Benefits:
Migrated Omni/Ava/Telegram/Developer.hs to spawn/poll agentd via HTTP (AGENTD_URL), track run_id, and stop via agentd. Added agentd helper types, status polling with timeout, and webhook URL support (AGENTD_WEBHOOK_URL). Removed in-process Agent.runAgent usage.
Note: Omni/Ava/Web.hs agent control plane now uses agentd HTTP API (spawn/send/stop) with agentd webhooks. Developer.hs still uses Agent.runAgent directly; needs migration.