From a82b98bc0c322af2dddb200297d160129e37341e Mon Sep 17 00:00:00 2001 From: Developers Digest <124798203+developersdigest@users.noreply.github.com> Date: Thu, 17 Sep 2026 11:39:04 -0400 Subject: [PATCH 1/2] fix(cli): send default search limit --- src/__tests__/commands/search.test.ts | 2 +- src/commands/search.ts | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/__tests__/commands/search.test.ts b/src/__tests__/commands/search.test.ts index aeded653fc..dab7ca2e5e 100644 --- a/src/__tests__/commands/search.test.ts +++ b/src/__tests__/commands/search.test.ts @@ -82,7 +82,7 @@ describe('executeSearch', () => { expect(mockHttpPost).toHaveBeenCalledTimes(1); expect(mockHttpPost).toHaveBeenCalledWith('/v2/search', { query: 'test query', - limit: undefined, + limit: 5, integration: 'cli', }); }); diff --git a/src/commands/search.ts b/src/commands/search.ts index 2bac898562..01b079542d 100644 --- a/src/commands/search.ts +++ b/src/commands/search.ts @@ -16,6 +16,8 @@ import { getClient, isKeylessMode, keylessRequest } from '../utils/client'; import { writeOutput } from '../utils/output'; import { apiFailure, requireAlexandriaKey } from './alexandria'; +const DEFAULT_SEARCH_LIMIT = 5; + /** * Execute search command */ @@ -27,7 +29,7 @@ export async function executeSearch( requireAlexandriaKey(options.apiKey); // Build search options for the SDK const searchParams: Record = { - limit: options.limit, + limit: options.limit ?? DEFAULT_SEARCH_LIMIT, integration: 'cli', }; if (options.domainTools !== undefined) From 945d0fa47d27f964f8f5fa6b3ae63351d91d00fc Mon Sep 17 00:00:00 2001 From: Developers Digest <124798203+developersdigest@users.noreply.github.com> Date: Thu, 17 Sep 2026 11:40:28 -0400 Subject: [PATCH 2/2] chore(cli): bump Alexandria beta to 16 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 3bc6f8e2de..f95027dbed 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "firecrawl-cli", - "version": "1.23.4-alexandria-beta.15", + "version": "1.23.4-alexandria-beta.16", "publishConfig": { "tag": "alexandria" },