Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
4 changes: 2 additions & 2 deletions src/__tests__/search.integration.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ describe('search command integration', () => {
'search',
'hello world',
'--depth',
'deep',
'flash',
'--include-images',
'--include-inline-citations',
'--max-results',
'8',
]);

expect(fakeClient.search).toHaveBeenCalledWith({
depth: 'deep',
depth: 'flash',
includeImages: true,
includeInlineCitations: true,
maxResults: 8,
Expand Down
2 changes: 1 addition & 1 deletion src/commands/search.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<SearchCliOutputType, SearchOutputType> = {
Expand Down