Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥
TypeScript aiai-agentsai-crawlerai-scrapingai-searchcrawlerdata-extractionhtml-to-markdownllmmarkdownscraperscrapingweb-crawlerweb-dataweb-data-extractionweb-scraperweb-scrapingweb-searchwebscraping
fix(api): ungate authenticated skill discovery (#4711)
Developers Digest95c8ab18f524
diff --git a/apps/api/src/routes/exchange.ts b/apps/api/src/routes/exchange.tsindex 02432b92e..68bb9ec65 100644--- a/apps/api/src/routes/exchange.ts+++ b/apps/api/src/routes/exchange.ts@@ -158,17 +158,17 @@ exchangeRouter.get(wrap(exchangeProxy(DISCOVER_TIMEOUT_MS, { requiresRetrieveFlag: false })),);-// Both skills routes intentionally require the exchangeRetrieve flag during preview.+// These read-only discovery routes remain authenticated; they do not execute paid tools.exchangeRouter.post("/skills/resolve",authMiddleware(RateLimiterMode.Labs),- wrap(exchangeProxy(DISCOVER_TIMEOUT_MS)),+ wrap(exchangeProxy(DISCOVER_TIMEOUT_MS, { requiresRetrieveFlag: false })),);exchangeRouter.get("/skills/:id/SKILL.md",authMiddleware(RateLimiterMode.Labs),- wrap(exchangeProxy(DISCOVER_TIMEOUT_MS)),+ wrap(exchangeProxy(DISCOVER_TIMEOUT_MS, { requiresRetrieveFlag: false })),);// Provider agreements the web app offers for acceptance; a catalogue read, never an acceptance.