fix: repoint remaining .com refs missed by api#719

Merged
SW
4mo ago
+5-4

What

Follow-up to api#719 — three .com references that sat outside its touched-domain test suites (recoupable/chat#1819 deferred §A items).

  • lib/apify/sendApifyWebhookEmail.ts — the "Recoup Chat" CTA link in the LLM email-generation prompt was a hardcoded https://chat.recoupable.com/?q=… (dead). Now interpolates getFrontendBaseUrl() (→ chat.recoupable.dev in prod), reusing the same centralizer as the other email links (DRY).
  • lib/mcp/tools/registerGetApiKeyTool.ts — the MCP tool description (shown to the LLM) + JSDoc pointed at the dead api.recoupable.com / developers.recoupable.com → api.recoupable.dev / docs.recoupable.dev.
  • lib/catalog/getCatalogsHandler.ts — JSDoc legacy-endpoint reference → api.recoupable.dev.

Verification

  • tsc --noEmit: no errors in the changed files.
  • vitest run lib/apify lib/catalog lib/composio: 236 passed / 50 files.
  • grep: no recoupable.com added in the diff.

Not included

Brand-email (@recoupable.com → @recoupable.dev) and sandbox.recoupable.com refs are tracked separately on #1819 (email pending the sending-domain decision; sandbox deferred — no live .dev target).

🤖 Generated with Claude Code


Summary by cubic

Fix dead links by switching remaining recoupable.com references to .dev and routing the Recoup Chat CTA through getFrontendBaseUrl(). This prevents broken email CTAs and outdated MCP tool/docs URLs.

  • Bug Fixes
    • Updated the email CTA in sendApifyWebhookEmail to use getFrontendBaseUrl() instead of a hardcoded chat.recoupable.com (resolves to chat.recoupable.dev in prod).
    • Updated MCP tool description and JSDoc in registerGetApiKeyTool to api.recoupable.dev and docs.recoupable.dev.
    • Updated legacy endpoint reference in getCatalogsHandler JSDoc to api.recoupable.dev.