Skip to content
Merged

Test #723

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
f99277e
feat(measurement-jobs): free-tier card gate (setup mode) + instant ba…
sweetmantech Jun 16, 2026
158a1d4
Merge remote-tracking branch 'origin/main' into test
sweetmantech Jun 16, 2026
5fa5e3a
fix(songstats-backfill): backoff on 429 + defer instead of churn (cha…
sweetmantech Jun 16, 2026
1e9deac
Merge remote-tracking branch 'origin/main' into test
sweetmantech Jun 16, 2026
5f45946
refactor(songstats): remove local quota ledger + budget gate (chat#17…
sweetmantech Jun 16, 2026
5472795
Merge remote-tracking branch 'origin/main' into test
sweetmantech Jun 16, 2026
f24d4c7
feat: POST /api/catalogs (create + materialize from valuation snapsho…
sweetmantech Jun 18, 2026
ace0b01
Merge remote-tracking branch 'origin/main' into test
sweetmantech Jun 18, 2026
a520a1d
fix: LEFT-join artists in catalog-songs read (materialized tracks wer…
sweetmantech Jun 18, 2026
76b5739
Merge remote-tracking branch 'origin/main' into test
sweetmantech Jun 18, 2026
709ea0c
feat: add X (Twitter) + LinkedIn to the Composio connector whitelist …
sweetmantech Jun 18, 2026
8a3c3cb
Merge remote-tracking branch 'origin/main' into test
sweetmantech Jun 18, 2026
66cc2fe
chore: remove unused ALLOWED_ARTIST_CONNECTORS from api (chat#1793) (…
sweetmantech Jun 18, 2026
79c22da
Merge remote-tracking branch 'origin/main' into test
sweetmantech Jun 18, 2026
6fc10cc
fix: enrich valuation-captured songs (artists + notes) so they render…
sweetmantech Jun 18, 2026
0e42d02
Merge remote-tracking branch 'origin/main' into test
sweetmantech Jun 18, 2026
2fa7029
fix(tasks): let admins fetch any task by id alone (cross-account read…
sweetmantech Jun 19, 2026
bd2ae10
Merge remote-tracking branch 'origin/main' into test
sweetmantech Jun 19, 2026
cdb34d0
feat(connectors): POST /api/connectors/files — stage images for Linke…
sweetmantech Jun 20, 2026
acae4d8
Merge main into test (sync #692 Songstats work)
sweetmantech Jun 23, 2026
2a7af68
feat(artists): account_id override for DELETE /api/artists/{id} (#693)
sweetmantech Jun 23, 2026
8c962ef
Merge main into test (sync #696)
sweetmantech Jun 23, 2026
8b6a3bb
feat(chats): admins (RECOUP_ORG) can access any chat — read + write (…
sweetmantech Jun 23, 2026
03e0ef5
Enforce account_api_keys.expires_at in x-api-key auth (chat#1813) (#700)
sweetmantech Jun 24, 2026
bff29ae
Merge branch 'main' into test
sweetmantech Jun 24, 2026
78bd71b
refactor(chat): extract shared buildRunAgentInput (chat#1813) (#701)
sweetmantech Jun 24, 2026
2209b7d
Re-point POST /api/chat/generate onto runAgentWorkflow + ephemeral ke…
sweetmantech Jun 24, 2026
af7eaa5
Merge remote-tracking branch 'origin/main' into test
sweetmantech Jun 24, 2026
b84e4a1
Merge remote-tracking branch 'origin/main' into HEAD
sweetmantech Jun 24, 2026
4c09cf0
Retire OpenClaw prompt_sandbox → run-sandbox-command bridge (chat#181…
sweetmantech Jun 24, 2026
f1ade64
Merge remote-tracking branch 'origin/main' into HEAD
sweetmantech Jun 24, 2026
4ecca44
feat: POST /api/emails + route ephemeral key to RECOUP_API_KEY (#1815…
sweetmantech Jun 25, 2026
27f0532
Merge origin/main into test (sync after #709 test→main promotion)
sweetmantech Jun 25, 2026
6d9e74e
fix(skills): install the renamed global skills into sandboxes (chat#1…
sweetmantech Jun 25, 2026
a463e59
Merge origin/main into test (sync after #713 test→main promotion)
sweetmantech Jun 25, 2026
18d20f7
feat(emails): make `to` and `subject` optional on POST /api/emails (#…
sweetmantech Jun 25, 2026
d981536
chore: remove POST /api/notifications (superseded by /api/emails) (#711)
sweetmantech Jun 25, 2026
cae9f35
Merge origin/main into test (sync for #715 promotion)
sweetmantech Jun 25, 2026
be2abcc
fix: repoint dead .com hosts to live .dev (recoupable/chat#1819 §A+§B…
sweetmantech Jun 29, 2026
0e0bac0
Merge remote-tracking branch 'origin/main' into test
sweetmantech Jun 29, 2026
e6610b4
fix: repoint remaining .com refs missed by api#719 (domain cutover) (…
sweetmantech Jun 30, 2026
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