Repository navigation
fix(research): document --k alias for --limit and align research index skill - #392
Open
genius-0963 wants to merge 1 commit into
Open
genius-0963 wants to merge 1 commit into
genius-0963 wants to merge 1 commit into
Conversation
…ndex skill The research subcommands (search-papers, related-papers, read-paper) as well as developer and gov commands accepted --k <number> via a hidden option, while documenting --limit <number> in help. In addition, the firecrawl-research-index skill instructed agents to call the CLI using --k <number>, creating a mismatch with CLI help and potential confusion with the -k API key flag. Document --k <number> with 'Alias for --limit' in the CLI help output across these commands, and update the firecrawl-research-index skill CLI instructions to use --limit <number>. Fixes firecrawl#391
Contributor
There was a problem hiding this comment.
No issues found across 3 files
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
Shadow auto-approve: would auto-approve. Unhides the existing --k alias in CLI help with a description, aligns research skill docs to use --limit, and adds regression tests. No runtime behavior changes; the change is bounded and clearly beneficial documentation/help alignment.
View guided diff | Re-trigger cubic
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes #391
Documents
--k <number>as an alias for--limitin CLI help output and aligns thefirecrawl-research-indexskill CLI instructions to use--limit <number>.Changes
src/index.ts): Removed.hideHelp()and added the description'Alias for --limit'for--k <number>onsearch-papers,related-papers,read-paper,developer, andgovcommands so that the option is documented in--help.skills/firecrawl-research-index/SKILL.md): Updated the CLI invocations forfirecrawl research search-papersandfirecrawl research related-papersfrom[--k <number>]to[--limit <number>]to align with the CLI's standard option flags and help output.src/__tests__/cli-argv.test.ts): Added tests verifying that--k <number>is displayed with'Alias for --limit'alongside--limit <number>in the help output for research subcommands (search-papers,related-papers,read-paper).Tests
pnpm run type-check: Verified all TypeScript types pass with zero errors (tsc --noEmit).npx vitest run src/__tests__/cli-argv.test.ts: 15/15 tests passed, including the new regression test verifying the help text.pnpm run test: All 51 test suites and 931 unit/integration tests passed.pnpm run build: Successfully built the project (tsc).pnpm run format:check: Verified code formatting with prettier.Summary by cubic
Documents the hidden
--kalias as'Alias for --limit'in CLI help output and aligns thefirecrawl-research-indexskill instructions to use--limit.--k <number>now appears in--helpoutput forsearch-papers,related-papers,read-paper,developer, andgovcommands instead of being hidden.--limit <number>instead of--k <number>, removing the mismatch with CLI help and the-kAPI key flag.Written for commit 1eace22. Summary will update on new commits.