## Why

AI Manager currently supports Telegram, WhatsApp, Facebook Messenger, and web widget as customer channels. Instagram Direct Messages are a major missing channel — many businesses receive customer inquiries via Instagram DMs. Adding Instagram as a channel would allow agents to handle Instagram conversations from the same AI Manager dashboard alongside all other channels.

## What Changes

- Create a new GitHub repo `aimanager-instagram-connector` (cloned from the Messenger npm package as blueprint) that implements the `{ router, startApp }` pattern
  - **License check**: Messenger npm package is MIT licensed → can legally reuse, modify, and distribute
  - Source obtained via `npm pack @tiledesk/tiledesk-messenger-connector` (no public GitHub repo exists)
  - All three Tiledesk connectors (Telegram, Messenger, WhatsApp) are MIT licensed
- Create the AI Manager server pubmodule `pubmodules/instagram/` with listener and registration in `pubModulesManager.js`
- Adapt the webhook handling from the existing lab prototype (`/Users/pps/DEV_OLD_TEMP/lab/meta-webhooks-demo`) into the connector structure
- Implement Instagram OAuth for token management (using the working `instagram-oauth.js` from the lab)
- Create a Translator class to convert between Instagram Direct Message format and AI Manager's internal format
- Add Instagram channel type constants to the Dashboard and Design Studio
- Add Instagram channel icon and badge to conversation lists

## Capabilities

### New Capabilities
- `instagram-connector`: A new Instagram DM channel connector for AI Manager, allowing agents to handle Instagram Direct Messages from the unified dashboard

### Modified Capabilities
*(none)*

## Impact

- **New npm package**: `packages/aimanager-instagram-connector/` (inside aimanager-build)
- **New server pubmodule**: `aimanager-server/pubmodules/instagram/index.js + listener.js`
- **Modified**: `aimanager-server/pubmodules/pubModulesManager.js` — 3 additions (constructor, use(), init())
- **Modified**: `aiamanager-server/package.json` — add new npm dependency
- **Modified**: Dashboard `constants.ts`, `util.ts`, `integrations/utils.ts` — add channel type constants
- **Modified**: Dashboard `integrations.component.ts` — add app fetching logic
- **Modified**: Dashboard 4x HTML templates — add channel badge
- **Modified**: Design Studio `constants.ts` — add channel type
- **New assets**: Instagram icon, logo, channel SVG
- **Lab code reused**: `instagram-oauth.js`, `instagram-reply.js`, webhook handling pattern
