Repository navigation
Conversation
The server infers the default from the project — public project, public media; private project, team-only — so the CLI flag, the SDK option and the upload skill no longer describe it as the most private option the plan allows. `packages/api-client/src/schema.ts` is generated from the deployed OpenAPI document, so it picks up the new wording on the next `build-schema-types` run after the API ships. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
gregberge
deleted the
greg/arg-501-media-visibility-should-respect-project-by-default
branch
August 14, 2026 19:39
This branch was successfully 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.
Part of ARG-501. Companion to argos-ci/argos#2487, which makes the change.
The server now infers a media's default visibility from its project — public project, public media; private project, team-only — instead of from the plan. This updates everything on the client side that described the old rule.
What changed
--visibilityhelp text onmedia upload.UploadMediaParameters.visibilityJSDoc in@argos-ci/core.skills/argos-upload/SKILL.md, including the part an agent needs to know: re-uploading keeps the visibility a media already has unless the upload passes--visibilityitself.?? "team", which stands in for a server default that no longer exists as a single value.No behavior change here: the flag and the option already passed
nullthrough when omitted, and the server picks the default.About
packages/api-client/src/schema.tsUntouched on purpose. It is generated from the deployed OpenAPI document (
openapi-typescript https://api.argos-ci.com/v2/openapi.yaml), so it picks up the newvisibilitydescription on the nextbuild-schema-typesrun after the API ships. The TypeScript types themselves do not change —visibilitystays("team" | "public") | null.Testing
@argos-ci/cliand@argos-ci/coretype-check, lint and test clean.🤖 Generated with Claude Code