codegen: resync gen/ from EF 6ced9812 + deprecated brand-kit alias#157
Merged
Conversation
…esync
The automated resync failed: brand kits and brand glossaries both carry the
"Brand" tag, so both endpoints derived the command name "brand list" and
codegen aborted, leaving gen/ deleted.
Add nameOverrides for GET /v3/brand-kits ("kits list") and
GET /v3/brand-glossaries ("glossaries list") so they generate as distinct
commands: "heygen brand kits list" and "heygen brand glossaries list".
Regenerate gen/, add curated --human columns, refresh examples, and list the
new commands in the e2e test skill.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
EF 6ced9812 retagged /v3/brand-kits from "Brand Kit" to "Brand", which moves the command shipped through v0.0.11 from "heygen brand-kit list" to "heygen brand kits list". Register the old path as a hidden, deprecated alias (via the alias framework) so existing scripts keep working and stdout stays clean JSON while a stderr notice points to the new name. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
Scope
Surfaces: API / CLI | Module: Brand (kits + glossaries), Video Translate
Summary
Codegen resync from experiment-framework
6ced9812. The automated run hit a fatal naming conflict and deletedgen/; this fixes the conflict, restores the generated commands, and keeps the previously shippedbrand-kit listcommand working as a deprecated alias (using the framework merged in #156).Root cause
In spec
6ced9812, brand kits (GET /v3/brand-kits) and the new brand glossaries (GET /v3/brand-glossaries) both carry theBrandtag, so both derived the command namebrand listand codegen aborted.Fix
Added
nameOverridesso they generate as distinct nested commands:heygen brand kits listheygen brand glossaries listRegenerated
gen/, added curated--humancolumns, refreshed examples and the e2e skill. Registered the oldheygen brand-kit listpath as a hidden, deprecated alias (removed in v0.1.0) that delegates to the same handler; the deprecation notice prints to stderr so stdout stays clean JSON.What this release contains (vs
main)heygen brand glossaries list.brand-kit->brand;heygen brand-kit listbecomesheygen brand kits list, with the old path still working via a deprecated alias.--brand-glossary-idflag.createaspect-ratio description tweak.Testing
make testpasses. Verified on the built binary against the live API: new commands resolve and paginate;heygen brand-kit listreturns data on stdout with the deprecation notice on stderr;brand-kitis hidden from help.🤖 Generated with Claude Code