Skip to content

feat: add --public flag to agent create, fix object upload --public#219

Merged
jason-rl merged 1 commit into
mainfrom
jason/remove_public_object_upload
Apr 29, 2026
Merged

feat: add --public flag to agent create, fix object upload --public#219
jason-rl merged 1 commit into
mainfrom
jason/remove_public_object_upload

Conversation

@jason-rl
Copy link
Copy Markdown
Contributor

@jason-rl jason-rl commented Apr 23, 2026

Description

Add a --public option to rli agent create and fix the existing broken --public on rli object upload so both pass is_public: true to their respective create API endpoints. The is_public field 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 --public flags are hidden from --help when RUNLOOP_BASE_URL is unset or points to the default runloop.ai, and become visible when a custom base URL is configured.

Type of Change

  • New feature (non-breaking change which adds functionality)

Changes Made

  • rli agent create --public sets is_public: true in the agent create request
  • rli object upload --public now actually passes is_public: true to the object create request (was previously defined but never sent)
  • Both --public options are conditionally hidden from --help via a shared publicOption() helper that checks runloopBaseDomain()

Testing

  • I have tested locally
  • All existing tests pass

@jason-rl jason-rl requested a review from jrvb-rl April 23, 2026 19:58
Copy link
Copy Markdown
Contributor

@jrvb-rl jrvb-rl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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...

@jason-rl jason-rl changed the title chore: remove --public option in obj upload subcommand chore: remove --public option from obj upload subcommand help text Apr 23, 2026
@jason-rl jason-rl force-pushed the jason/remove_public_object_upload branch from f323608 to baf082a Compare April 23, 2026 20:24
@jason-rl jason-rl requested a review from jrvb-rl April 23, 2026 20:28
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>
@jason-rl jason-rl force-pushed the jason/remove_public_object_upload branch from baf082a to 1968adf Compare April 29, 2026 15:45
@jason-rl jason-rl changed the title chore: remove --public option from obj upload subcommand help text feat: add --public flag to agent create, fix object upload --public Apr 29, 2026
@jason-rl jason-rl merged commit 6e7a8b3 into main Apr 29, 2026
18 checks passed
@jason-rl jason-rl deleted the jason/remove_public_object_upload branch April 29, 2026 18:59
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants