From 0aff517bf921fd3c3d0544964ed2cda30548e31d Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Mon, 9 Nov 2026 20:09:21 +0000 Subject: [PATCH] CC-225: Plain-language Muse plugin and related settings copy Replace internal identifiers and inconsistent capitalization in Muse Monitor UI, SMS recipient labeling, and Keychain helper text. Co-authored-by: Jay Wedgeworth --- Sources/CodeCaps/MuseCodePluginView.swift | 16 ++++++++-------- Sources/CodeCaps/SMSSettingsView.swift | 2 +- Sources/CodeCaps/SettingsViews.swift | 4 ++-- Sources/CodeCaps/ZAIQuotaSettingsView.swift | 2 +- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Sources/CodeCaps/MuseCodePluginView.swift b/Sources/CodeCaps/MuseCodePluginView.swift index 677836ef..fc11385d 100644 --- a/Sources/CodeCaps/MuseCodePluginView.swift +++ b/Sources/CodeCaps/MuseCodePluginView.swift @@ -10,7 +10,7 @@ struct MuseCodePluginPage: View { if let plugin = CodeCapsPlugin.named(pluginId), plugin == .museCode { MuseCodeMonitorPage(model: model) } else { - Text("Plugin unavailable") + Text("Plugin Unavailable") .font(.system(size: 13, weight: .medium)) .foregroundStyle(.secondary) } @@ -84,7 +84,7 @@ struct MuseCodeMonitorPage: View { Text("Muse Monitor") .font(.system(size: 18, weight: .bold, design: .rounded)) if isWarning { - Text("WARNING") + Text("Warning") .font(.system(size: 10, weight: .bold)) .foregroundStyle(.white) .padding(.horizontal, 6) @@ -92,7 +92,7 @@ struct MuseCodeMonitorPage: View { .background(Theme.warning, in: Capsule()) } } - Text("Deterministic monitoring of Muse token burn and standard-model sessions on this Mac.") + Text("Tracks Muse token use and standard-model sessions on this Mac.") .font(.system(size: 12)) .foregroundStyle(.secondary) .fixedSize(horizontal: false, vertical: true) @@ -150,13 +150,13 @@ struct MuseCodeMonitorPage: View { Eyebrow("CONTRIBUTOR SHARE") VStack(alignment: .leading, spacing: 8) { if let window = window90, let share = window.contributorShare { - row("Contributor Share (90 minutes)", MuseCodeFormatting.percent(share)) + row("Contributor Share (90 Minutes)", MuseCodeFormatting.percent(share)) row("Contributor Tokens", MuseCodeFormatting.grouped(window.contributorTokens)) if share < 1 { row("Standard Tokens", MuseCodeFormatting.grouped(window.totalTokens - window.contributorTokens)) } } else { - row("Contributor Share (90 minutes)", "No tokens in window") + row("Contributor Share (90 Minutes)", "No tokens in window") } } .padding(16) @@ -220,9 +220,9 @@ struct MuseCodeMonitorPage: View { in: 100_000...50_000_000, step: 100_000) .labelsHidden() } - Text("Two alert kinds: museCodeBurn fires when burn passes the threshold while a session is on a standard model." + Text("Burn Alert warns you when usage passes the threshold while a session uses a standard model." + sentenceGap - + "museCodeStandardSession fires on its own the moment a session starts on, or switches to, a standard model, whatever the burn rate.") + + "Standard Session Alert warns you when a session starts or switches to a standard model, regardless of burn rate.") .font(.system(size: 11)) .foregroundStyle(.secondary) .fixedSize(horizontal: false, vertical: true) @@ -263,7 +263,7 @@ struct MuseCodeMonitorPage: View { Text(tokenStatus).font(.system(size: 11)).foregroundStyle(.secondary) } row("Bridge Status", model.museCodeBridgeStatus ?? "Not posted yet") - Text("Posts each session's new tokens since the last reading to Usage Monitor, as muse-code token events." + Text("Posts each session's new tokens since the last reading to Usage Monitor, as Muse Code usage." + sentenceGap + "Replays dedupe server-side, so a failed post is safe to retry.") .font(.system(size: 11)) diff --git a/Sources/CodeCaps/SMSSettingsView.swift b/Sources/CodeCaps/SMSSettingsView.swift index 34f0ffba..3ff74976 100644 --- a/Sources/CodeCaps/SMSSettingsView.swift +++ b/Sources/CodeCaps/SMSSettingsView.swift @@ -31,7 +31,7 @@ struct SMSSettingsView: View { SecureField(controller.hasSavedSetup ? "API Key Secret (Blank Keeps Saved Secret)" : "API Key Secret", text: $apiKeySecret) TextField("Messaging Service SID", text: $messagingServiceSID) - TextField("Recipient (E.164)", text: $recipient) + TextField("Recipient Phone Number", text: $recipient, prompt: Text("+15551234567")) HStack { Button("Save Setup") { Task { diff --git a/Sources/CodeCaps/SettingsViews.swift b/Sources/CodeCaps/SettingsViews.swift index a3549703..8dedd38f 100644 --- a/Sources/CodeCaps/SettingsViews.swift +++ b/Sources/CodeCaps/SettingsViews.swift @@ -1862,7 +1862,7 @@ struct SettingsInfisicalPage: View { } header: { Eyebrow(editingID == nil ? "NEW BINDING" : "EDIT BINDING") } footer: { Text("Use the complete service token, including its st. prefix." + sentenceGap - + "Credentials stay in this build’s Keychain; Infisical enforces their actual permissions.") + + "Credentials stay in the Keychain on this Mac; Infisical enforces their actual permissions.") .font(.system(size: 11)) .foregroundStyle(.secondary) .fixedSize(horizontal: false, vertical: true) @@ -1873,7 +1873,7 @@ struct SettingsInfisicalPage: View { LabeledContent("Read Source", value: read.label) LabeledContent("Environment", value: read.environment) LabeledContent("Folder", value: read.secretPath) - } else { Text("Local settings only") } + } else { Text("Local Settings Only") } if let loaded = settings.lastLoadedAt { LabeledContent("Last Synced") { Text(loaded.formatted(date: .omitted, time: .shortened)) } } diff --git a/Sources/CodeCaps/ZAIQuotaSettingsView.swift b/Sources/CodeCaps/ZAIQuotaSettingsView.swift index b3248641..08b89190 100644 --- a/Sources/CodeCaps/ZAIQuotaSettingsView.swift +++ b/Sources/CodeCaps/ZAIQuotaSettingsView.swift @@ -112,7 +112,7 @@ struct ZAIQuotaSettingsView: View { } if let status = controller.status { Text(status).font(.caption).foregroundStyle(.secondary) } Text("Enter an existing Coding Plan API key for the selected region." + sentenceGap - + "The key and region are saved together in this build’s Keychain.") + + "The key and region are saved together in the Keychain on this Mac.") .font(.caption).foregroundStyle(.secondary) } .disabled(controller.isWorking)