Repository navigation
feat(gov): add Government Index search filters - #342
Merged
Merged
Conversation
added 3 commits
October 21, 2026 21:32
Add --jurisdiction, --court, --court-type, --cites, --domain, --year-from and --year-to to firecrawl gov. Set filters are sent as camelCase query parameters on /v2/search/gov; unset filters are not sent. The CLI checks values before calling the API: court types against the allowed list, the jurisdiction shape, years as integers from 1000 to 9999, --year-from not after --year-to, and year filters only together with --court or --court-type. Document the flags and the coverage caveat in the README and skills.
Remove --year-from and --year-to from firecrawl gov, along with their validation, the yearFrom and yearTo query parameters, and their mentions in the help example, README, and skills.
KrisOei
marked this pull request as ready for review
October 22, 2026 05:10
Contributor
There was a problem hiding this comment.
All reported issues were addressed across 6 files
Shadow auto-approve: would not auto-approve because issues were found.
View guided diff | Turn on auto-fix | Re-trigger cubic
Contributor
There was a problem hiding this comment.
0 issues found across 1 file (changes from recent commits).
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
Shadow auto-approve: would require human review. Adds optional gov search filters with client-side validation, docs, and API error-message passthrough. Requires human sign-off because the new query/error paths ship without unit tests and depend on API filter deployment that is not verifiable in this diff.
View guided diff | Turn on auto-fix | Re-trigger cubic
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.
firecrawl govgets--jurisdiction,--court,--court-type,--citesand--domain. Set filters go out as query parameters onGET /v2/search/gov; a search without filters sends the same URL as before.--helpand the bundled skills document the flags and the coverage caveat.Bumps the version to 1.26.20, skipping the 1.26.19 that #343 claims. Merge once the API filters in firecrawl/firecrawl#5338 are deployed; merging publishes 1.26.20.
Show me
Validation
pnpm run type-check,pnpm run format:check,pnpm run buildandpnpm testpass.