Repository navigation
chore(gen): refresh API specs - #16
Merged
Merged
Conversation
Regenerated from the live catalog (spec hash f9e447f42c33). Adds 13 commands, drops amazon-reviews (retired upstream) and reshapes google-events around --page-token. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VkPtq7Nyd8XbgFqYQWcYfm
rmilyushkevich
commented
Oct 20, 2026
rmilyushkevich
left a comment
Contributor
Author
There was a problem hiding this comment.
Maintainer review of 6ba27e2. I'm leaving a COMMENT review because GitHub doesn't let this account approve its own PR.
- The generated files are exactly the output of
go generate .on main at 97d05dd. Nothing is hand-edited. - Harness: vet/build/test pass;
--helpsmoke passes on 67 commands; live 12/12 pass. The command-surface diff is in the description. - Hard rule 3: the
amazon-reviewsremoval is confirmed (HTTP 400, retired on purpose). The google-events, zillow-listing and google-maps-posts flag removals are confirmed by live checks with the base binary.--no-other-sellersis dropped because the API's default flipped;--other-sellers=falseis the equivalent. That breaks scripts that use the old flag, so the next release is a minor bump. - No findings in the generated code. The one known issue, backticks in flag help, is generator-side and gets its own PR.
Merging.
Generated by Claude Code
Merged
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.
Regenerated with
go generate .onorigin/main(97d05dd) against the live catalog. Spec hashf9e447f42c33. Supersedes the stale bot PR #13 (older hash). Nothing is hand-edited.Command surface vs main
Added (13):
chat-gpt-chat,facebook-profile,google-finance,google-flights-deals,google-scholar,google-scholar-cite,instagram-comments,tripadvisor-place,tripadvisor-reviews,tripadvisor-search,walmart-product,walmart-reviews,walmart-searchRemoved (1):
amazon-reviews(retired on purpose 2026-10-20; the live endpoint answers HTTP 400 "Invalid api response" and the base binary prints its deprecation notice)Flags removed (each checked against the live API with the base binary):
google-events:--q --location --domain --gl --hl --htichips --start --uuledropped; now takes only--page-token(required). Old shape:--qreturns HTTP 422pageToken required, so the old call already fails today.zillow-listing --listing-type: ignored by the API (byOwnerin Austin returns all 5,623 for-sale results). Replaced by--listing-publish-options ownerPosted|agentListed.google-maps-posts --next-page-token: ignored (a bogus token returns page 1, and the response has no pagination at all).amazon-product --no-other-sellers: the API paramotherSellersstill exists, but its default flipped tofalse, so the generator no longer emits a negated flag.--other-sellers=falseis the equivalent. Scripts using--no-other-sellerswill get "unknown flag", so the next release is a minor bump.Flags added:
glassdoor-listing:--date-posted--easy-apply-only--max-salary--min-rating--min-salary--radius--remote-onlygoogle-events:--page-tokengoogle-maps-place:--fetch-web-resultsgoogle-short-videos:--tbsindeed-listing:--date-posted--next-page--remote-type--sponsored-onlyweb-scraping:--auto-modeDefaults changed (help text only): example dates in airbnb/booking/google-flights/google-hotels move to Nov 2026;
amazon-product --other-sellersfalse;indeed-listing --domain/--sortno default. Generated code sends a param only when its flag is set, so the request a user's command sends is unchanged. Also: credit costs in--helpupdated (e.g. amazon-product and zillow-listing 5 → 10), and amazon commands move to the E-commerce group.Harness (head 6ba27e2)
--helpsmoke on root + 67 commands,version,version --json,completion bash: passweb-scraping,google-serp-light; newchat-gpt-chat,facebook-profile,google-finance,google-flights-deals,google-scholar,instagram-comments,tripadvisor-search,walmart-search; changedglassdoor-listing --remote-only,indeed-listing --date-posted. Not called (budget): google-scholar-cite, tripadvisor-place/-reviews, walmart-product/-reviews.Known, not fixed here: backticked words in flag descriptions show up as the flag's type in
--help(e.g.--adults arrivalId). That's pflag's UnquoteUsage; the fix belongs ininternal/gen, in a separate PR.Generated by Claude Code