Select organizations through ui-ex instead of GraphQL - #5186
Merged
Conversation
lillianberryfly
force-pushed
the
lillian/uiex-org-selection
branch
from
September 8, 2026 14:55
a1597dc to
7f55f38
Compare
prompt.Org, prompt.SelectOrg, and the orgs package helpers now list and fetch organizations through ui-ex and return a uiex.Organization. The admin-only filter maps to the list endpoint's admin parameter, and the personal flag replaces the GraphQL type for sorting, the prompt callout, and the orgs list Type column. The ui-ex org carries the same global ID GraphQL reports, so the mutations downstream are unchanged. The flypg cluster input, extensions core params, statics package, Redis and Postgres cluster creation, and the launch state's cached org take the ui-ex org. The WireGuard library takes an org ID and slug so the commands and the agent server call it the same way. Launch's determineOrg lists through ui-ex, and apps list lists per org through Flaps with deploy times from the ui-ex timestamps endpoint, grouping by org and mapping raw slugs back to their aliases so its output is unchanged. Still on GraphQL: the org-token refresher in config, which needs user-token-only auth, the agent server's org fetch, and the LiteFS Cloud command slated for removal. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DMttEkUAVhL7YZFRFjhHwB
lillianberryfly
force-pushed
the
lillian/uiex-org-selection
branch
from
September 8, 2026 16:17
7f55f38 to
5dd72a9
Compare
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.
prompt.Org, prompt.SelectOrg, and the orgs package helpers now list and fetch organizations through ui-ex and return a uiex.Organization. The admin-only filter maps to the list endpoint's admin parameter, and the personal flag replaces the GraphQL type for sorting, the prompt callout, and the orgs list Type column. The ui-ex org carries the same global ID GraphQL reports, so the mutations downstream are unchanged.
The flypg cluster input, extensions core params, statics package, Redis and Postgres cluster creation, and the launch state's cached org take the ui-ex org. The WireGuard library takes an org ID and slug so the commands and the agent server call it the same way. Launch's determineOrg lists through ui-ex, and apps list lists per org through Flaps with deploy times from the ui-ex timestamps endpoint, grouping by org and mapping raw slugs back to their aliases so its output is unchanged.
Still on GraphQL: the org-token refresher in config, which needs user-token-only auth, the agent server's org fetch, and the LiteFS Cloud command slated for removal.
Claude-Session: https://claude.ai/code/session_01DMttEkUAVhL7YZFRFjhHwB