Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion lib/apify/sendApifyWebhookEmail.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import generateText from "@/lib/ai/generateText";
import { sendEmailWithResend } from "@/lib/emails/sendEmail";
import { RECOUP_FROM_EMAIL } from "@/lib/const";
import { getFrontendBaseUrl } from "@/lib/composio/getFrontendBaseUrl";
import type { ApifyInstagramProfileResult } from "@/lib/apify/types";

/**
Expand Down Expand Up @@ -36,7 +37,7 @@ Latest Posts: ${(Array.isArray(profile.latestPosts) ? profile.latestPosts : []).
write beautiful html email.
subject: New Apify Dataset Notification. you're notifying music managers about new posts being available for one of their roster musician's Instagram profile.
include a link to view the instagram profile.
call to action is to open a chat link to learn more about the latest posts using Recoup Chat (AI Agents): https://chat.recoupable.com/?q=tell%20me%20about%20my%20latest%20Ig%20posts
call to action is to open a chat link to learn more about the latest posts using Recoup Chat (AI Agents): ${getFrontendBaseUrl()}/?q=tell%20me%20about%20my%20latest%20Ig%20posts
You'll be passed a dataset summary for a musician profile and their latest posts on instagram.
your goal is to get the recipient to click a cta link to open a chat link to learn more about the latest posts using Recoup Chat (AI Agents).
only include the email body html.
Expand Down
2 changes: 1 addition & 1 deletion lib/catalog/getCatalogsHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { selectAccountCatalogs } from "@/lib/supabase/account_catalogs/selectAcc
*
* Lists catalogs linked to the account via `account_catalogs`, ordered by
* `created_at desc`. Response body is byte-identical to the legacy
* `GET /api/catalogs?account_id=...` endpoint on `api.recoupable.com`.
* `GET /api/catalogs?account_id=...` endpoint on `api.recoupable.dev`.
*
* @param request - The incoming request
* @param params - Route params containing the account ID
Expand Down
4 changes: 2 additions & 2 deletions lib/mcp/tools/registerGetApiKeyTool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { getToolResultError } from "@/lib/mcp/getToolResultError";
* Registers the "get_api_key" tool on the MCP server.
*
* Returns the Recoup API key the caller authenticated this MCP connection
* with so the LLM can use it for direct HTTP requests to api.recoupable.com
* with so the LLM can use it for direct HTTP requests to api.recoupable.dev
* (via the x-api-key header). The MCP Bearer header is opaque to the LLM by
* design, so without this tool, skills that curl /api/* endpoints have no
* credential to send.
Expand All @@ -22,7 +22,7 @@ export function registerGetApiKeyTool(server: McpServer): void {
"get_api_key",
{
description:
"Return the Recoup API key for this session so the LLM can use it for direct HTTP calls to api.recoupable.com (x-api-key header, or Authorization: Bearer). Call this once when invoking any skill that makes raw HTTPS requests to the Recoup REST API — for example the recoup-api skill. The returned value is the same credential the customer used to authenticate this MCP connection. Endpoint reference: https://developers.recoupable.com (and https://developers.recoupable.com/llms.txt for the LLM-readable index).",
"Return the Recoup API key for this session so the LLM can use it for direct HTTP calls to api.recoupable.dev (x-api-key header, or Authorization: Bearer). Call this once when invoking any skill that makes raw HTTPS requests to the Recoup REST API — for example the recoup-api skill. The returned value is the same credential the customer used to authenticate this MCP connection. Endpoint reference: https://docs.recoupable.dev (and https://docs.recoupable.dev/llms.txt for the LLM-readable index).",
inputSchema: z.object({}),
},
async (_args, extra: RequestHandlerExtra<ServerRequest, ServerNotification>) => {
Expand Down
Loading