Repository navigation
desktop(macos): Omi Pro is the only plan; fix Omi Pro checkout + naming - #23772
Merged
Merged
Conversation
Omi Pro (unlimited_v2) is now the top ladder tier so storefront checkout is no longer refused, and retired plans may switch to it. "Omi Pro" titles map to unlimited_v2 (backend plan_id preferred), Operator is named Operator, retired plans are hidden from the purchase grid, upsells/referral copy point at Omi Pro, and Omi Pro is treated as desktop-entitled client-side.
kodjima33
force-pushed
the
kodjima33/omi-pro-only-macos
branch
from
October 27, 2026 05:44
28d4cfc to
4a13c0d
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.
What changed and why
Product decision (2026-10-26): Omi Pro (
unlimited_v2, $29.99/mo) is the only plan sold, including on desktop. Plus, Operator, Architect and Neo are retired: only their current subscribers see them, and those subscribers can still switch to Omi Pro. This PR changes only the macOS client. The backend catalog andDESKTOP_ENTITLED_PLAN_TYPESchange landed separately in #23774.PlanStorefrontladder is nowbasic < plus < operator < architect < unlimited_v2. Before this, the client refused every Omi Pro checkout, including the backend's ownsingle_plan_omi_progolden. A retired or legacy plan can now check out only to Omi Pro. Omi Pro subscribers never hit Pro-gate upsells.SubscriptionPlanNamesmaps "Omi Pro" tounlimited_v2(it used to map toarchitect)./v1/payments/available-plansnow decodesplan_id, which the backend already sends, and uses it before falling back to title parsing. Display names:unlimited_v2shows "Omi Pro",operatorshows "Operator".ScreenEmbeddingPolicygives Omi Pro cloud screen vectors. The cached proactive budget multiplier treats Omi Pro like Operator. That value is a local mirror; the server stays the authority.Product invariants affected
How it was verified
xcrun swift build -c debug --package-path Desktoppasses locally (with the uncommitted AFM shim noted below).omi-pro-onlywas built and launched with./run.sh --yolo, and the bridge responded. UNVERIFIED in the running app: the seeded Omi Dev session (test account) was inauth_recovery, so the app was signed out. Minting a fresh session also failed because the backend service account key in Secret Manager has been deleted. In addition, until payments: Omi Pro is the only plan sold; Omi Pro grants full desktop #23774 is deployed, backends hideunlimited_v2from desktop, so a signed-in desktop would still not get Omi Pro in its catalog. The Omi Pro card was never seen on screen.SystemLanguageModel.contextSizein the AFM sources/tests, and a type-check timeout inLocalSummaryEvalCorpus.swift. The changed tests therefore run in CI on the pinned toolchain. To get the local debug build through, the one AFM line was shimmed locally and that change is not committed.Tests
PlanStorefrontTests.testOmiProIsPurchasable: the backendsingle_plan_omi_progolden now sells Omi Pro on monthly and yearly. Before this change it was refused.PlanStorefrontTests.testRetiredPlanMaySwitchOnlyToOmiPro: legacy Neo can check out Omi Pro, and a retired tier still never sells.PlanStorefrontTests.testProGatesApplyBelowProOnly: Omi Pro is not gated.SubscriptionPlanNamesTests: Omi Pro maps tounlimited_v2; display names are "Omi Pro" and "Operator".SettingsContentViewBillingFallbackTests: only Omi Pro is offered, the current Omi Pro plan is hidden from the grid, fallback copy agrees on 1,000, andplan_iddecodes.ScreenEmbeddingPolicyTests: Omi Pro gets cloud screen vectors.SubscriptionPlanCatalogMergerTests: Operator now displays as "Operator", not "Pro".ChatBudgetPauseTests: pins the "Upgrade to Omi Pro" label from the backend fixture payments: Omi Pro is the only plan sold; Omi Pro grants full desktop #23774 changed.UI evidence
UI-Evidence: none -- no signed-in session available locally and backends return Omi Pro to desktop only after #23774 deploys; behavior pinned by tests
Failure class (fixes)
Failure-Class: none