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(sdk): update alias doc comments to indicate agent compatibility purpose
Himadri Me15b118896c4
diff --git a/apps/js-sdk/firecrawl/src/v2/client.ts b/apps/js-sdk/firecrawl/src/v2/client.tsindex 9c1be9dbb..5e7b23907 100644--- a/apps/js-sdk/firecrawl/src/v2/client.ts+++ b/apps/js-sdk/firecrawl/src/v2/client.ts@@ -548,52 +548,52 @@ export class FirecrawlClient {return new Watcher(this.http, jobId, opts);}- /** @deprecated Use scrape(). */+ /** @deprecated V1 compatibility alias for agent recovery. Prefer scrape(). */async scrapeUrl(url: string, options?: ScrapeOptions): Promise<Document> {return this.scrape(url, options);}- /** @deprecated Use crawl(). */+ /** @deprecated V1 compatibility alias for agent recovery. Prefer crawl(). */async crawlUrl(url: string, req: CrawlOptions & { pollInterval?: number; timeout?: number } = {}): Promise<CrawlJob> {return this.crawl(url, req);}- /** @deprecated Use startCrawl(). */+ /** @deprecated V1 compatibility alias for agent recovery. Prefer startCrawl(). */async asyncCrawlUrl(url: string, req: CrawlOptions = {}): Promise<CrawlResponse> {return this.startCrawl(url, req);}- /** @deprecated Use getCrawlStatus(). */+ /** @deprecated V1 compatibility alias for agent recovery. Prefer getCrawlStatus(). */async checkCrawlStatus(jobId: string, pagination?: PaginationConfig): Promise<CrawlJob> {return this.getCrawlStatus(jobId, pagination);}- /** @deprecated Use getCrawlErrors(). */+ /** @deprecated V1 compatibility alias for agent recovery. Prefer getCrawlErrors(). */async checkCrawlErrors(crawlId: string): Promise<CrawlErrorsResponse> {return this.getCrawlErrors(crawlId);}- /** @deprecated Use map(). */+ /** @deprecated V1 compatibility alias for agent recovery. Prefer map(). */async mapUrl(url: string, options?: MapOptions): Promise<MapData> {return this.map(url, options);}- /** @deprecated Use batchScrape(). */+ /** @deprecated V1 compatibility alias for agent recovery. Prefer batchScrape(). */async batchScrapeUrls(urls: string[], opts?: BatchScrapeOptions & { pollInterval?: number; timeout?: number }): Promise<BatchScrapeJob> {return this.batchScrape(urls, opts);}- /** @deprecated Use startBatchScrape(). */+ /** @deprecated V1 compatibility alias for agent recovery. Prefer startBatchScrape(). */async asyncBatchScrapeUrls(urls: string[], opts?: BatchScrapeOptions): Promise<BatchScrapeResponse> {return this.startBatchScrape(urls, opts);}- /** @deprecated Use getBatchScrapeStatus(). */+ /** @deprecated V1 compatibility alias for agent recovery. Prefer getBatchScrapeStatus(). */async checkBatchScrapeStatus(jobId: string, pagination?: PaginationConfig): Promise<BatchScrapeJob> {return this.getBatchScrapeStatus(jobId, pagination);}- /** @deprecated Use getBatchScrapeErrors(). */+ /** @deprecated V1 compatibility alias for agent recovery. Prefer getBatchScrapeErrors(). */async checkBatchScrapeErrors(jobId: string): Promise<CrawlErrorsResponse> {return this.getBatchScrapeErrors(jobId);}diff --git a/apps/python-sdk/firecrawl/v2/client.py b/apps/python-sdk/firecrawl/v2/client.pyindex 89506fa1d..f61582431 100644--- a/apps/python-sdk/firecrawl/v2/client.py+++ b/apps/python-sdk/firecrawl/v2/client.py@@ -281,43 +281,43 @@ class FirecrawlClient:return self.stop_interaction(job_id)def scrape_url(self, url: str, **kwargs):- """Deprecated v1 alias for scrape()."""+ """V1 compatibility alias for agent recovery. Prefer scrape()."""return self.scrape(url, **kwargs)def crawl_url(self, url: str, **kwargs):- """Deprecated v1 alias for crawl()."""+ """V1 compatibility alias for agent recovery. Prefer crawl()."""return self.crawl(url, **kwargs)def map_url(self, url: str, **kwargs):- """Deprecated v1 alias for map()."""+ """V1 compatibility alias for agent recovery. Prefer map()."""return self.map(url, **kwargs)def async_crawl_url(self, url: str, **kwargs):- """Deprecated v1 alias for start_crawl()."""+ """V1 compatibility alias for agent recovery. Prefer start_crawl()."""return self.start_crawl(url, **kwargs)def check_crawl_status(self, id: str, **kwargs):- """Deprecated v1 alias for get_crawl_status()."""+ """V1 compatibility alias for agent recovery. Prefer get_crawl_status()."""return self.get_crawl_status(id, **kwargs)def check_crawl_errors(self, id: str):- """Deprecated v1 alias for get_crawl_errors()."""+ """V1 compatibility alias for agent recovery. Prefer get_crawl_errors()."""return self.get_crawl_errors(id)def batch_scrape_urls(self, urls, **kwargs):- """Deprecated v1 alias for batch_scrape()."""+ """V1 compatibility alias for agent recovery. Prefer batch_scrape()."""return self.batch_scrape(urls, **kwargs)def async_batch_scrape_urls(self, urls, **kwargs):- """Deprecated v1 alias for start_batch_scrape()."""+ """V1 compatibility alias for agent recovery. Prefer start_batch_scrape()."""return self.start_batch_scrape(urls, **kwargs)def check_batch_scrape_status(self, id: str, **kwargs):- """Deprecated v1 alias for get_batch_scrape_status()."""+ """V1 compatibility alias for agent recovery. Prefer get_batch_scrape_status()."""return self.get_batch_scrape_status(id, **kwargs)def check_batch_scrape_errors(self, id: str):- """Deprecated v1 alias for get_batch_scrape_errors()."""+ """V1 compatibility alias for agent recovery. Prefer get_batch_scrape_errors()."""return self.get_batch_scrape_errors(id)def parse(diff --git a/apps/python-sdk/firecrawl/v2/client_async.py b/apps/python-sdk/firecrawl/v2/client_async.pyindex 455d755e0..2be796781 100644--- a/apps/python-sdk/firecrawl/v2/client_async.py+++ b/apps/python-sdk/firecrawl/v2/client_async.py@@ -159,43 +159,43 @@ class AsyncFirecrawlClient:return await self.stop_interaction(job_id)async def scrape_url(self, url: str, **kwargs):- """Deprecated v1 alias for scrape()."""+ """V1 compatibility alias for agent recovery. Prefer scrape()."""return await self.scrape(url, **kwargs)async def crawl_url(self, url: str, **kwargs):- """Deprecated v1 alias for crawl()."""+ """V1 compatibility alias for agent recovery. Prefer crawl()."""return await self.crawl(url=url, **kwargs)async def map_url(self, url: str, **kwargs):- """Deprecated v1 alias for map()."""+ """V1 compatibility alias for agent recovery. Prefer map()."""return await self.map(url, **kwargs)async def async_crawl_url(self, url: str, **kwargs):- """Deprecated v1 alias for start_crawl()."""+ """V1 compatibility alias for agent recovery. Prefer start_crawl()."""return await self.start_crawl(url, **kwargs)async def check_crawl_status(self, id: str, **kwargs):- """Deprecated v1 alias for get_crawl_status()."""+ """V1 compatibility alias for agent recovery. Prefer get_crawl_status()."""return await self.get_crawl_status(id, **kwargs)async def check_crawl_errors(self, id: str):- """Deprecated v1 alias for get_crawl_errors()."""+ """V1 compatibility alias for agent recovery. Prefer get_crawl_errors()."""return await self.get_crawl_errors(id)async def batch_scrape_urls(self, urls, **kwargs):- """Deprecated v1 alias for batch_scrape()."""+ """V1 compatibility alias for agent recovery. Prefer batch_scrape()."""return await self.batch_scrape(urls, **kwargs)async def async_batch_scrape_urls(self, urls, **kwargs):- """Deprecated v1 alias for start_batch_scrape()."""+ """V1 compatibility alias for agent recovery. Prefer start_batch_scrape()."""return await self.start_batch_scrape(urls, **kwargs)async def check_batch_scrape_status(self, id: str, **kwargs):- """Deprecated v1 alias for get_batch_scrape_status()."""+ """V1 compatibility alias for agent recovery. Prefer get_batch_scrape_status()."""return await self.get_batch_scrape_status(id, **kwargs)async def check_batch_scrape_errors(self, id: str):- """Deprecated v1 alias for get_batch_scrape_errors()."""+ """V1 compatibility alias for agent recovery. Prefer get_batch_scrape_errors()."""return await self.get_batch_scrape_errors(id)async def parse(