feat(cli): update tier display names for Pricing V5#2063
Closed
simple-agent-manager[bot] wants to merge 2 commits intomainfrom
Closed
feat(cli): update tier display names for Pricing V5#2063simple-agent-manager[bot] wants to merge 2 commits intomainfrom
simple-agent-manager[bot] wants to merge 2 commits intomainfrom
Conversation
Rename subscription tier display strings to match v5 pricing: - HOBBY/UNSPECIFIED -> "Starter" (was "Hobby") - PERSONAL -> "Starter" (was "Personal", tier eliminated in v5) - TEAM -> "Enterprise" (was "Team") - PRO -> "Pro" (unchanged) Change ShowAccountData.SubscriberTier from protobuf enum to string, using SubscriptionTierToString for human-friendly display in both table output and JSON serialization. This is a display-only change; protobuf enum values remain unchanged for backward compatibility. Closes #2054 Ref: DefangLabs/defang-global#36 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
jordanstephens
approved these changes
Apr 21, 2026
lionello
approved these changes
Apr 22, 2026
Contributor
Author
|
Superseded by #2088 which is a strict superset (includes all tier renames plus GPU errors, estimate modes, generate/debug descriptions). |
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.
Summary
SubscriptionTierToStringto use v5 pricing tier names: HOBBY/UNSPECIFIED -> "Starter", PERSONAL -> "Starter", TEAM -> "Enterprise", PRO -> "Pro" (unchanged)ShowAccountData.SubscriberTierfrom protobuf enum type to string, usingSubscriptionTierToStringfor human-friendly display in both CLI table output and JSON serializationSubscriptionTierToStringcovering all tier values including edge casesDisplay-only change; protobuf enum values are unchanged for backward compatibility (decision from DefangLabs/defang-global#36: "rename in UI only").
Closes #2054
Ref: DefangLabs/defang-global#36
Test plan
TestSubscriptionTierToStringpasses (all tier mappings)TestWhoamipasses with string-based tier displaydefang whoamiand confirm tier shows "Starter", "Pro", or "Enterprise"defang whoami --jsonand confirmsubscriberTierfield is a human-readable string🤖 Generated with Claude Code