Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
TypeScript agentic-aiagentsaiai-agentsaiagentsdeveloper-toolsfunction-callinggpt-4javascriptjsllmllmopsmcppythonremote-mcp-serverssetypescript
fix: use async getReferenceSource to include OpenAPI-generated pages
Sushmithamalleshc0da07e0b5b6
diff --git a/docs/scripts/validate-links.ts b/docs/scripts/validate-links.tsindex ed2b4a71f..fa41d1886 100644--- a/docs/scripts/validate-links.ts+++ b/docs/scripts/validate-links.ts@@ -8,14 +8,14 @@ import {} from 'next-validate-link';import {source,- referenceSource,+ getReferenceSource,cookbooksSource,toolkitsSource,} from '../lib/source';type AnySource =| typeof source- | typeof referenceSource+ | Awaited<ReturnType<typeof getReferenceSource>>| typeof cookbooksSource| typeof toolkitsSource;@@ -87,6 +87,7 @@ async function buildPopulateEntries(src: AnySource) {}async function checkLinks() {+ const referenceSource = await getReferenceSource();const [docsEntries, refEntries, cookbookEntries, toolkitEntries] = await Promise.all([buildPopulateEntries(source),buildPopulateEntries(referenceSource),@@ -132,6 +133,7 @@ async function checkLinks() {}async function getFiles(): Promise<FileObject[]> {+ const referenceSource = await getReferenceSource();const sources = [source, referenceSource, cookbooksSource, toolkitsSource];const allFiles: FileObject[] = [];