diff --git a/README.md b/README.md index 6c96084..d1498b6 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Official command-line interface for [Linkup](https://linkup.so) — AI-powered w ## Features -- **Search the web** with three depth modes: `fast`, `standard`, and `deep`. +- **Search the web** with four depth modes: `flash`, `fast`, `standard`, and `deep`. - **Fetch** any URL as clean markdown. - **Research** asynchronously, and batch mixed jobs with **tasks**. - **Scriptable**: `--json` output for any command, plus stdin and file input. @@ -50,7 +50,7 @@ These commands run immediately and return the result in the same call. Run an immediate web search. -- Pick the effort with `--depth`: `fast`, `standard` (default), or `deep`. +- Pick the effort with `--depth`: `flash`, `fast`, `standard` (default), or `deep`. - Choose the output with `--output`: `sourced-answer`, `search-results`, or `structured`. - Use `--include-images` and `--max-results` with any output type. - Add `--include-inline-citations` to sourced answers or `--include-sources` to structured output. diff --git a/package-lock.json b/package-lock.json index 4864d17..c8601b7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,7 +11,7 @@ "dependencies": { "@inquirer/prompts": "^8.5.2", "commander": "^13.1.0", - "linkup-sdk": "^3.6.0", + "linkup-sdk": "^3.7.0", "open": "^11.0.0" }, "bin": { @@ -5289,9 +5289,9 @@ "license": "MIT" }, "node_modules/linkup-sdk": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/linkup-sdk/-/linkup-sdk-3.6.0.tgz", - "integrity": "sha512-nExHSOUDCTFRZPYZSgS8vwC8gNDo+frckIbPZCuFmzLcjKeSvbFIP2GMDoauAw6KRvTkd/f3RvCmDutjF1unHw==", + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/linkup-sdk/-/linkup-sdk-3.7.0.tgz", + "integrity": "sha512-8IN9GNpRVz1Mw8e9id1GRHNPfsQ0wiCsHXxljots3QTjoVrJyRLRSu2ju2hdec1xpNRrEfLB/JOls6adNuWaFQ==", "license": "MIT", "dependencies": { "@x402/core": "^2.6.0", diff --git a/package.json b/package.json index f86b290..e1aa9c5 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "dependencies": { "@inquirer/prompts": "^8.5.2", "commander": "^13.1.0", - "linkup-sdk": "^3.6.0", + "linkup-sdk": "^3.7.0", "open": "^11.0.0" }, "devDependencies": { diff --git a/src/__tests__/search.integration.test.ts b/src/__tests__/search.integration.test.ts index 71f90b2..e88f9ec 100644 --- a/src/__tests__/search.integration.test.ts +++ b/src/__tests__/search.integration.test.ts @@ -20,7 +20,7 @@ describe('search command integration', () => { 'search', 'hello world', '--depth', - 'deep', + 'flash', '--include-images', '--include-inline-citations', '--max-results', @@ -28,7 +28,7 @@ describe('search command integration', () => { ]); expect(fakeClient.search).toHaveBeenCalledWith({ - depth: 'deep', + depth: 'flash', includeImages: true, includeInlineCitations: true, maxResults: 8, diff --git a/src/commands/search.ts b/src/commands/search.ts index 032b6b4..86d2b59 100644 --- a/src/commands/search.ts +++ b/src/commands/search.ts @@ -41,7 +41,7 @@ type BuildSearchParamsResult = { warnings: string[]; }; -const DEPTH_CHOICES: SearchDepth[] = ['fast', 'standard', 'deep']; +const DEPTH_CHOICES: SearchDepth[] = ['flash', 'fast', 'standard', 'deep']; const OUTPUT_CHOICES: SearchCliOutputType[] = ['sourced-answer', 'search-results', 'structured']; const OUTPUT_TYPE_MAP: Record = {