feat: add --public flag to agent create, fix object upload --public#219
Merged
Conversation
jrvb-rl
reviewed
Apr 23, 2026
Contributor
jrvb-rl
left a comment
There was a problem hiding this comment.
I think its helpful to have this, actually, but as a hidden option. I think there is a way we can hide this from the command help? The backend should prevent unauthorized users anyway...
f323608 to
baf082a
Compare
Add a --public option to `agent create` that sets `is_public: true` in the API request body (field exists on the API but is hidden from the SDK/OpenAPI spec). Also fix the existing `object upload --public` flag which was defined but never passed through to the API. Both --public flags are hidden from --help output when RUNLOOP_BASE_URL is unset or points to the default runloop.ai domain, and become visible when a custom base URL is configured. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
baf082a to
1968adf
Compare
jrvb-rl
approved these changes
Apr 29, 2026
tode-rl
pushed a commit
that referenced
this pull request
May 12, 2026
🤖 I have created a release *beep* *boop* --- ## [1.17.0](v1.16.0...v1.17.0) (2026-05-12) ### Features * add --public flag to agent create, fix object upload --public ([#219](#219)) ([6e7a8b3](6e7a8b3)) * add clipboard keybinds to detail screens ([#231](#231)) ([83874ca](83874ca)) * add TUI features and fix benchmark pagination total count ([#230](#230)) ([7565d45](7565d45)) * agent object picker, multi-mount support, and TUI improvements ([#217](#217)) ([dbe2a5c](dbe2a5c)) * pty support ([#234](#234)) ([3cfd720](3cfd720)) * smart default download path + stdin/stdout support ([#222](#222)) ([419a961](419a961)) * support multi-path tar/tgz archive creation in obj upload ([#220](#220)) ([3528701](3528701)) ### Bug Fixes * menu header clipping and breadcrumb hyperlink ([#221](#221)) ([3ef6271](3ef6271)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.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.
Description
Add a
--publicoption torli agent createand fix the existing broken--publiconrli object uploadso both passis_public: trueto their respective create API endpoints. Theis_publicfield exists on the API but is absent from the SDK/OpenAPI spec, so this is useful for internal dev/staging use, or D2VPC customers who own their own platform and can upload whatever public stuff they want.Both
--publicflags are hidden from--helpwhenRUNLOOP_BASE_URLis unset or points to the defaultrunloop.ai, and become visible when a custom base URL is configured.Type of Change
Changes Made
rli agent create --publicsetsis_public: truein the agent create requestrli object upload --publicnow actually passesis_public: trueto the object create request (was previously defined but never sent)--publicoptions are conditionally hidden from--helpvia a sharedpublicOption()helper that checksrunloopBaseDomain()Testing