Skip to content

Pricing V5: Update tier display names & mode naming #2054

@simple-agent-manager

Description

@simple-agent-manager

Context

Part of the Pricing V5 implementation. Source: strategy/pricing-implementation-checklist.md §2, §4.

Protobuf Schema (§2)

Subscription Tier Enum

File: src/protos/io/defang/v1/fabric.proto:729-736

  • Rename/remap tiers (backwards-compatible approach):
    • HOBBY = 1 → Keep as-is, UI displays as "Starter"
    • PERSONAL = 2 → Mark deprecated; treat as "Starter" in code (grandfathered)
    • PRO = 3 → Keep, now $49/mo
    • TEAM = 4 → Keep, UI displays as "Enterprise"
    • Add proto comments documenting V5 mapping
  • Alternative: Add new enum values STARTER = 5 (cleaner but breaking) — decision needed

WhoAmIResponse

File: src/protos/io/defang/v1/fabric.proto:743-753

  • Consider adding cloud_account_count field
  • Consider adding cloud_account_limit field
  • Consider adding portal_access_level enum (LIMITED, FULL, FULL_PLUS)

CanIUseResponse

  • Add allowed_modes repeated field
  • Add portal_access_level field
  • Add ai_enabled bool field

CLI Tier Display (§4.1)

File: src/pkg/cli/whoami.go:14-67

  • Update tier name display: HOBBY→"Starter", PERSONAL→"Starter (Legacy Personal)", PRO→"Pro", TEAM→"Enterprise"

Mode Naming (§4.2)

File: src/pkg/modes/modes.go:21-36

  • Decision needed: Rename AFFORDABLE/BALANCED/HIGH_AVAILABILITY → Standard/Production/HA?
  • If renaming, update String() and Parse() functions

🤖 Generated with Claude Code

Metadata

Metadata

Assignees

Labels

pricingv5Pricing V5 implementation

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions