You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(ai-bot): make bot account email configurable via platform metadata
Replace hardcoded bot email with platform Metadata pattern, matching
how FrontVersion and other config values are handled in the codebase.
- Add BotEmail metadata key to ai-bot plugin definition
- Add getAiBotAccountEmail() and getAiBotEmailSocialKey() dynamic getters
that read from metadata with fallback to default constant
- Set metadata from AI_BOT_EMAIL env var in both transactor (__start.ts)
and ai-bot service (start.ts), with empty-string guard
- Update all server-side consumers to use getters instead of constants:
middleware (identity, pluginConfig), pod-ai-bot (account, platform),
server-plugins/ai-bot-resources
- Keep static constants exported for client-side use (unchanged)
- Remove duplicate hardcoded email from middleware identity.ts
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Don Kendall <kendall@donkendall.com>
0 commit comments