chore(api): Update generated-source attribution in file headers - #49
Conversation
Castiron-Internal-PR: openai/openai-cli-internal#17 Castiron-Source-SHA: 4dd1f294631d41bae9d4f7806a8b17f0088d52d4 Castiron-Public-Base-SHA: e202c09
There was a problem hiding this comment.
Pull request overview
This PR updates generated-file attribution headers from “Stainless” to “Castiron” across a large set of generated CLI command files, and includes regenerated OpenAPI artifacts/metadata.
Changes:
- Update generated-source attribution comment in many
pkg/cmd/*.goandpkg/cmd/*_test.goheaders. - Regenerate
api_reference/openapi.transformed.yml(includes small schema diffs). - Update
.castiron.stats.ymlgeneration metadata (hashes/codegen SHA).
Reviewed changes
Copilot reviewed 157 out of 157 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| pkg/cmd/video.go | Update generated header attribution to Castiron |
| pkg/cmd/video_test.go | Update generated header attribution to Castiron |
| pkg/cmd/vectorstorefilebatch.go | Update generated header attribution to Castiron |
| pkg/cmd/vectorstorefilebatch_test.go | Update generated header attribution to Castiron |
| pkg/cmd/vectorstorefile.go | Update generated header attribution to Castiron |
| pkg/cmd/vectorstorefile_test.go | Update generated header attribution to Castiron |
| pkg/cmd/vectorstore.go | Update generated header attribution to Castiron |
| pkg/cmd/vectorstore_test.go | Update generated header attribution to Castiron |
| pkg/cmd/uploadpart.go | Update generated header attribution to Castiron |
| pkg/cmd/uploadpart_test.go | Update generated header attribution to Castiron |
| pkg/cmd/upload.go | Update generated header attribution to Castiron |
| pkg/cmd/upload_test.go | Update generated header attribution to Castiron |
| pkg/cmd/skillversioncontent.go | Update generated header attribution to Castiron |
| pkg/cmd/skillversioncontent_test.go | Update generated header attribution to Castiron |
| pkg/cmd/skillversion.go | Update generated header attribution to Castiron |
| pkg/cmd/skillversion_test.go | Update generated header attribution to Castiron |
| pkg/cmd/skillcontent.go | Update generated header attribution to Castiron |
| pkg/cmd/skillcontent_test.go | Update generated header attribution to Castiron |
| pkg/cmd/skill.go | Update generated header attribution to Castiron |
| pkg/cmd/skill_test.go | Update generated header attribution to Castiron |
| pkg/cmd/response.go | Update generated header attribution to Castiron |
| pkg/cmd/response_test.go | Update generated header attribution to Castiron |
| pkg/cmd/moderation.go | Update generated header attribution to Castiron |
| pkg/cmd/moderation_test.go | Update generated header attribution to Castiron |
| pkg/cmd/model.go | Update generated header attribution to Castiron |
| pkg/cmd/model_test.go | Update generated header attribution to Castiron |
| pkg/cmd/item.go | Update generated header attribution to Castiron |
| pkg/cmd/item_test.go | Update generated header attribution to Castiron |
| pkg/cmd/inputtoken.go | Update generated header attribution to Castiron |
| pkg/cmd/inputtoken_test.go | Update generated header attribution to Castiron |
| pkg/cmd/inputitem.go | Update generated header attribution to Castiron |
| pkg/cmd/inputitem_test.go | Update generated header attribution to Castiron |
| pkg/cmd/image.go | Update generated header attribution to Castiron |
| pkg/cmd/image_test.go | Update generated header attribution to Castiron |
| pkg/cmd/finetuningjobcheckpoint.go | Update generated header attribution to Castiron |
| pkg/cmd/finetuningjobcheckpoint_test.go | Update generated header attribution to Castiron |
| pkg/cmd/finetuningjob.go | Update generated header attribution to Castiron |
| pkg/cmd/finetuningjob_test.go | Update generated header attribution to Castiron |
| pkg/cmd/finetuningcheckpointpermission.go | Update generated header attribution to Castiron |
| pkg/cmd/finetuningcheckpointpermission_test.go | Update generated header attribution to Castiron |
| pkg/cmd/finetuningalphagrader.go | Update generated header attribution to Castiron |
| pkg/cmd/finetuningalphagrader_test.go | Update generated header attribution to Castiron |
| pkg/cmd/file.go | Update generated header attribution to Castiron |
| pkg/cmd/file_test.go | Update generated header attribution to Castiron |
| pkg/cmd/embedding.go | Update generated header attribution to Castiron |
| pkg/cmd/embedding_test.go | Update generated header attribution to Castiron |
| pkg/cmd/conversation.go | Update generated header attribution to Castiron |
| pkg/cmd/conversation_test.go | Update generated header attribution to Castiron |
| pkg/cmd/contentprovenancecheck.go | Update generated header attribution to Castiron |
| pkg/cmd/contentprovenancecheck_test.go | Update generated header attribution to Castiron |
| pkg/cmd/containerfilecontent.go | Update generated header attribution to Castiron |
| pkg/cmd/containerfilecontent_test.go | Update generated header attribution to Castiron |
| pkg/cmd/containerfile.go | Update generated header attribution to Castiron |
| pkg/cmd/containerfile_test.go | Update generated header attribution to Castiron |
| pkg/cmd/container.go | Update generated header attribution to Castiron |
| pkg/cmd/container_test.go | Update generated header attribution to Castiron |
| pkg/cmd/completion.go | Update generated header attribution to Castiron |
| pkg/cmd/completion_test.go | Update generated header attribution to Castiron |
| pkg/cmd/cmd.go | Update generated header attribution to Castiron |
| pkg/cmd/clientsecret.go | Update generated header attribution to Castiron |
| pkg/cmd/clientsecret_test.go | Update generated header attribution to Castiron |
| pkg/cmd/chatcompletionmessage.go | Update generated header attribution to Castiron |
| pkg/cmd/chatcompletionmessage_test.go | Update generated header attribution to Castiron |
| pkg/cmd/chatcompletion.go | Update generated header attribution to Castiron |
| pkg/cmd/chatcompletion_test.go | Update generated header attribution to Castiron |
| pkg/cmd/call.go | Update generated header attribution to Castiron |
| pkg/cmd/call_test.go | Update generated header attribution to Castiron |
| pkg/cmd/betathreadrunstep.go | Update generated header attribution to Castiron |
| pkg/cmd/betathreadrunstep_test.go | Update generated header attribution to Castiron |
| pkg/cmd/betathreadrun.go | Update generated header attribution to Castiron |
| pkg/cmd/betathreadrun_test.go | Update generated header attribution to Castiron |
| pkg/cmd/betathreadmessage.go | Update generated header attribution to Castiron |
| pkg/cmd/betathreadmessage_test.go | Update generated header attribution to Castiron |
| pkg/cmd/betathread.go | Update generated header attribution to Castiron |
| pkg/cmd/betathread_test.go | Update generated header attribution to Castiron |
| pkg/cmd/betaresponseinputtoken.go | Update generated header attribution to Castiron |
| pkg/cmd/betaresponseinputtoken_test.go | Update generated header attribution to Castiron |
| pkg/cmd/betaresponseinputitem.go | Update generated header attribution to Castiron |
| pkg/cmd/betaresponseinputitem_test.go | Update generated header attribution to Castiron |
| pkg/cmd/betaresponse.go | Update generated header attribution to Castiron |
| pkg/cmd/betaresponse_test.go | Update generated header attribution to Castiron |
| pkg/cmd/betachatkitthread.go | Update generated header attribution to Castiron |
| pkg/cmd/betachatkitthread_test.go | Update generated header attribution to Castiron |
| pkg/cmd/betachatkitsession.go | Update generated header attribution to Castiron |
| pkg/cmd/betachatkitsession_test.go | Update generated header attribution to Castiron |
| pkg/cmd/betaassistant.go | Update generated header attribution to Castiron |
| pkg/cmd/betaassistant_test.go | Update generated header attribution to Castiron |
| pkg/cmd/batch.go | Update generated header attribution to Castiron |
| pkg/cmd/batch_test.go | Update generated header attribution to Castiron |
| pkg/cmd/audiotranslation.go | Update generated header attribution to Castiron |
| pkg/cmd/audiotranslation_test.go | Update generated header attribution to Castiron |
| pkg/cmd/audiotranscription.go | Update generated header attribution to Castiron |
| pkg/cmd/audiotranscription_test.go | Update generated header attribution to Castiron |
| pkg/cmd/audiospeech.go | Update generated header attribution to Castiron |
| pkg/cmd/audiospeech_test.go | Update generated header attribution to Castiron |
| pkg/cmd/adminorganizationuserrole.go | Update generated header attribution to Castiron |
| pkg/cmd/adminorganizationuserrole_test.go | Update generated header attribution to Castiron |
| pkg/cmd/adminorganizationuser.go | Update generated header attribution to Castiron |
| pkg/cmd/adminorganizationuser_test.go | Update generated header attribution to Castiron |
| pkg/cmd/adminorganizationusage.go | Update generated header attribution to Castiron |
| pkg/cmd/adminorganizationusage_test.go | Update generated header attribution to Castiron |
| pkg/cmd/adminorganizationspendlimit.go | Update generated header attribution to Castiron |
| pkg/cmd/adminorganizationspendlimit_test.go | Update generated header attribution to Castiron |
| pkg/cmd/adminorganizationspendalert.go | Update generated header attribution to Castiron |
| pkg/cmd/adminorganizationspendalert_test.go | Update generated header attribution to Castiron |
| pkg/cmd/adminorganizationrole.go | Update generated header attribution to Castiron |
| pkg/cmd/adminorganizationrole_test.go | Update generated header attribution to Castiron |
| pkg/cmd/adminorganizationprojectuserrole.go | Update generated header attribution to Castiron |
| pkg/cmd/adminorganizationprojectuserrole_test.go | Update generated header attribution to Castiron |
| pkg/cmd/adminorganizationprojectuser.go | Update generated header attribution to Castiron |
| pkg/cmd/adminorganizationprojectuser_test.go | Update generated header attribution to Castiron |
| pkg/cmd/adminorganizationprojectspendlimit.go | Update generated header attribution to Castiron |
| pkg/cmd/adminorganizationprojectspendlimit_test.go | Update generated header attribution to Castiron |
| pkg/cmd/adminorganizationprojectspendalert.go | Update generated header attribution to Castiron |
| pkg/cmd/adminorganizationprojectspendalert_test.go | Update generated header attribution to Castiron |
| pkg/cmd/adminorganizationprojectserviceaccountapikey.go | Update generated header attribution to Castiron |
| pkg/cmd/adminorganizationprojectserviceaccountapikey_test.go | Update generated header attribution to Castiron |
| pkg/cmd/adminorganizationprojectserviceaccount.go | Update generated header attribution to Castiron |
| pkg/cmd/adminorganizationprojectserviceaccount_test.go | Update generated header attribution to Castiron |
| pkg/cmd/adminorganizationprojectrole.go | Update generated header attribution to Castiron |
| pkg/cmd/adminorganizationprojectrole_test.go | Update generated header attribution to Castiron |
| pkg/cmd/adminorganizationprojectratelimit.go | Update generated header attribution to Castiron |
| pkg/cmd/adminorganizationprojectratelimit_test.go | Update generated header attribution to Castiron |
| pkg/cmd/adminorganizationprojectmodelpermission.go | Update generated header attribution to Castiron |
| pkg/cmd/adminorganizationprojectmodelpermission_test.go | Update generated header attribution to Castiron |
| pkg/cmd/adminorganizationprojecthostedtoolpermission.go | Update generated header attribution to Castiron |
| pkg/cmd/adminorganizationprojecthostedtoolpermission_test.go | Update generated header attribution to Castiron |
| pkg/cmd/adminorganizationprojectgrouprole.go | Update generated header attribution to Castiron |
| pkg/cmd/adminorganizationprojectgrouprole_test.go | Update generated header attribution to Castiron |
| pkg/cmd/adminorganizationprojectgroup.go | Update generated header attribution to Castiron |
| pkg/cmd/adminorganizationprojectgroup_test.go | Update generated header attribution to Castiron |
| pkg/cmd/adminorganizationprojectdataretention.go | Update generated header attribution to Castiron |
| pkg/cmd/adminorganizationprojectdataretention_test.go | Update generated header attribution to Castiron |
| pkg/cmd/adminorganizationprojectcertificate.go | Update generated header attribution to Castiron |
| pkg/cmd/adminorganizationprojectcertificate_test.go | Update generated header attribution to Castiron |
| pkg/cmd/adminorganizationprojectapikey.go | Update generated header attribution to Castiron |
| pkg/cmd/adminorganizationprojectapikey_test.go | Update generated header attribution to Castiron |
| pkg/cmd/adminorganizationproject.go | Update generated header attribution to Castiron |
| pkg/cmd/adminorganizationproject_test.go | Update generated header attribution to Castiron |
| pkg/cmd/adminorganizationinvite.go | Update generated header attribution to Castiron |
| pkg/cmd/adminorganizationinvite_test.go | Update generated header attribution to Castiron |
| pkg/cmd/adminorganizationgroupuser.go | Update generated header attribution to Castiron |
| pkg/cmd/adminorganizationgroupuser_test.go | Update generated header attribution to Castiron |
| pkg/cmd/adminorganizationgrouprole.go | Update generated header attribution to Castiron |
| pkg/cmd/adminorganizationgrouprole_test.go | Update generated header attribution to Castiron |
| pkg/cmd/adminorganizationgroup.go | Update generated header attribution to Castiron |
| pkg/cmd/adminorganizationgroup_test.go | Update generated header attribution to Castiron |
| pkg/cmd/adminorganizationdataretention.go | Update generated header attribution to Castiron |
| pkg/cmd/adminorganizationdataretention_test.go | Update generated header attribution to Castiron |
| pkg/cmd/adminorganizationcertificate.go | Update generated header attribution to Castiron |
| pkg/cmd/adminorganizationcertificate_test.go | Update generated header attribution to Castiron |
| pkg/cmd/adminorganizationauditlog.go | Update generated header attribution to Castiron |
| pkg/cmd/adminorganizationauditlog_test.go | Update generated header attribution to Castiron |
| pkg/cmd/adminorganizationadminapikey.go | Update generated header attribution to Castiron |
| pkg/cmd/adminorganizationadminapikey_test.go | Update generated header attribution to Castiron |
| api_reference/openapi.transformed.yml | Regenerated transformed OpenAPI spec (includes minor schema diffs) |
| .castiron.stats.yml | Update codegen metadata (generation ID/hashes/SHA) |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| @@ -1,4 +1,4 @@ | |||
| // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | |||
| // File generated from our OpenAPI spec by Castiron. See CONTRIBUTING.md for details. | |||
| description: The namespace name used in tool calls (for example, `crm`). | ||
| description: | ||
| type: string | ||
| minLength: 1 | ||
| description: A description of the namespace shown to the model. |
jbeckwith-oai
left a comment
There was a problem hiding this comment.
Reviewed the exact generated diff and validation. The 155 Go source/test changes are attribution-header-only, generated-file boundaries remain intact, and there are no runtime, CLI, API, architecture, or maintainability changes. Local build/lint/full tests (including Windows compilation) pass, and exact-head CI is green.
Summary
chore(api): Update generated-source attribution in file headers