Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
15 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ extension ControlCommandCoordinator {
return debugWorkspaceTodoChecklistAddField()
case "debug.pro_welcome_checklist.show":
return debugShowProWelcomeChecklist()
case "debug.native_pricing.show":
return debugShowNativePricing()
case "debug.command_palette.toggle":
return debugCommandPaletteEvent(.toggle, request.params)
case "debug.command_palette.rename_tab.open":
Expand Down Expand Up @@ -222,6 +224,16 @@ extension ControlCommandCoordinator {
return .ok(.object(["shown": .bool(true)]))
}

// MARK: - debug.native_pricing.show — show the native pricing screen

func debugShowNativePricing() -> ControlCallResult {
guard let debugContext else {
return .err(code: "unavailable", message: "Control context unavailable", data: nil)
}
debugContext.controlDebugShowNativePricing()
return .ok(.object(["shown": .bool(true)]))
}

// MARK: - debug.textbox.*

/// `debug.textbox.inline_fixture` — install the inline text-box fixture.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ public protocol ControlDebugContext: AnyObject {
/// `debug.pro_welcome_checklist.show`.
func controlDebugShowProWelcomeChecklist()

/// Shows the native pricing screen for `debug.native_pricing.show`.
func controlDebugShowNativePricing()

/// Runs the shared v1 `is_terminal_focused` body for
/// `debug.terminal.is_focused`.
///
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ extension ControlDebugContext {
func controlDebugActivateApp() -> String { "ERROR: not implemented" }
func controlDebugRequestWorkspaceTodoChecklistAddField() -> UUID? { nil }
func controlDebugShowProWelcomeChecklist() {}
func controlDebugShowNativePricing() {}
func controlDebugIsTerminalFocused(surfaceArgument: String) -> String { "ERROR: not implemented" }
func controlDebugReadTerminalText(surfaceArgument: String) -> String { "ERROR: not implemented" }
func controlDebugRenderStats(surfaceArgument: String) -> String { "ERROR: not implemented" }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ struct ProUpgradeCard: View {
}
return String(
localized: "settings.account.pro.subtitle",
defaultValue: "Cloud dev boxes, the iOS app, and cmux AI. $50/month, or $480/year."
defaultValue: "Up to 5 Cloud VMs, up to 4 vCPUs and 8 GB RAM per VM, and the iOS app. $50/month."
)
}

Expand Down
Loading
Loading