feat: Rename server to endpoint throughout codebase - #616
Merged
Conversation
The CLI already called this the endpoint in the environment (SEAM_CLI_ENDPOINT) and in the SDK options it builds, while the command, the flags, the stored key, and the prose called it the server. Settle on endpoint everywhere: - `seam select server --server` is now `seam select endpoint --endpoint`, `seam login --server` is now `seam login --endpoint`, and the hidden `seam config set fake-server` is now `seam config set fake-endpoint`. - The stored settings key `server` is now `endpoint`. Configs written under the old key are still read, and the next write drops it. - `AuthContext.server`/`serverSource`, `selectServer`, `selectFakeServer`, `defaultServer`, and the modules holding them follow the same name, as do the help text, the prompts, and the docs. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EGei65aQbdcHScx5QyuGKZ
It was a development shortcut that pointed the CLI at a generated fakeseamconnect instance and logged in with the well-known token, kept out of help, completion, and the picker. The same thing is reachable through `seam select endpoint`, which offers fakeseamconnect as a choice and generates the same URL and token, so the hidden path only duplicated a visible one. `selectFakeEndpoint` stays: that interactive flow still calls it. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EGei65aQbdcHScx5QyuGKZ
razor-x
marked this pull request as ready for review
August 12, 2026 03:38
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.
This PR renames all references to "server" to "endpoint" throughout the codebase to better reflect the terminology used in the Seam API.
Summary
Updated terminology from "server" to "endpoint" across the CLI, configuration, authentication, and interaction layers. This includes renaming functions, variables, configuration keys, command paths, and user-facing messages.
Key Changes
selectServer()toselectEndpoint(),selectFakeServer()toselectFakeEndpoint(), and updated related function parameters and variablesservertoendpointin config store, with backward compatibility to read from legacyserverkeyAuthContext.servertoAuthContext.endpointandserverSourcetoendpointSource; updateddefaultServertodefaultEndpointselect servercommand toselect endpointandconfig set fake-servertoconfig set fake-endpointinteractForServerSelection()tointeractForEndpointSelection()and updated related prompts and messagesendpointterminology and verify backward compatibility with legacyserverkeyImplementation Details
storeEndpoint()helper function that handles writing the endpoint, clearing the legacyserverkey, and resetting workspace selectionresolveAuth()fall back to reading from the legacyserverconfig key ifendpointis not setserverkey and verifying the new key takes precedencehttps://claude.ai/code/session_01EGei65aQbdcHScx5QyuGKZ