Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
16 changes: 8 additions & 8 deletions NotchIA.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1289,15 +1289,15 @@
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "-";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 20904;
CURRENT_PROJECT_VERSION = 20905;
DEVELOPMENT_TEAM = "";
ENABLE_HARDENED_RUNTIME = YES;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = NotchIAXPCHelper/Info.plist;
INFOPLIST_KEY_CFBundleDisplayName = NotchIAXPCHelper;
INFOPLIST_KEY_NSHumanReadableCopyright = "";
MACOSX_DEPLOYMENT_TARGET = 15.0;
MARKETING_VERSION = 2.9.4;
MARKETING_VERSION = 2.9.5;
PRODUCT_BUNDLE_IDENTIFIER = com.coaxel2.notchia.NotchIAXPCHelper;
PRODUCT_NAME = "$(TARGET_NAME)";
REGISTER_APP_GROUPS = YES;
Expand All @@ -1315,15 +1315,15 @@
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "-";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 20904;
CURRENT_PROJECT_VERSION = 20905;
DEVELOPMENT_TEAM = "";
ENABLE_HARDENED_RUNTIME = YES;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = NotchIAXPCHelper/Info.plist;
INFOPLIST_KEY_CFBundleDisplayName = NotchIAXPCHelper;
INFOPLIST_KEY_NSHumanReadableCopyright = "";
MACOSX_DEPLOYMENT_TARGET = 15.0;
MARKETING_VERSION = 2.9.4;
MARKETING_VERSION = 2.9.5;
PRODUCT_BUNDLE_IDENTIFIER = com.coaxel2.notchia.NotchIAXPCHelper;
PRODUCT_NAME = "$(TARGET_NAME)";
REGISTER_APP_GROUPS = YES;
Expand Down Expand Up @@ -1474,7 +1474,7 @@
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "-";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 20904;
CURRENT_PROJECT_VERSION = 20905;
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_ASSET_PATHS = "\"NotchIA/Preview Content\"";
DEVELOPMENT_TEAM = "";
Expand Down Expand Up @@ -1502,7 +1502,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 15.0;
MARKETING_VERSION = 2.9.4;
MARKETING_VERSION = 2.9.5;
PRODUCT_BUNDLE_IDENTIFIER = com.coaxel2.notchia;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down Expand Up @@ -1530,7 +1530,7 @@
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
COPY_PHASE_STRIP = YES;
CURRENT_PROJECT_VERSION = 20904;
CURRENT_PROJECT_VERSION = 20905;
DEAD_CODE_STRIPPING = YES;
DEPLOYMENT_POSTPROCESSING = YES;
DEVELOPMENT_ASSET_PATHS = "\"NotchIA/Preview Content\"";
Expand Down Expand Up @@ -1558,7 +1558,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 15.0;
MARKETING_VERSION = 2.9.4;
MARKETING_VERSION = 2.9.5;
PRODUCT_BUNDLE_IDENTIFIER = com.coaxel2.notchia;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down
4 changes: 4 additions & 0 deletions NotchIA/ContentView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,10 @@ struct ContentView: View {
}

private var hasCompactCodeAssistantSession: Bool {
// Pro lockdown — mirror `shouldShowCodeAssistantCompactActivity`. The
// AI live-activity is a Pro feature; without this guard the closed-notch
// chin-width calc and idle-view branch could surface it for free users.
guard LicenseManager.shared.state.isPro else { return false }
// Only show the compact AI view when an assistant is actually doing
// something (thinking, running tools, waiting for permission). A
// running-but-idle CLI process should not keep the notch occupied.
Expand Down
62 changes: 60 additions & 2 deletions NotchIA/Localizable.xcstrings
Original file line number Diff line number Diff line change
Expand Up @@ -876,6 +876,7 @@
}
},
"%@ — outil : %@" : {
"extractionState" : "stale",
"localizations" : {
"de" : {
"stringUnit" : {
Expand Down Expand Up @@ -8098,6 +8099,35 @@
}
}
},
"Blanc" : {
"extractionState" : "manual",
"localizations" : {
"de" : {
"stringUnit" : {
"state" : "translated",
"value" : "Weiß"
}
},
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "White"
}
},
"es" : {
"stringUnit" : {
"state" : "translated",
"value" : "Blanco"
}
},
"fr" : {
"stringUnit" : {
"state" : "translated",
"value" : "Blanc"
}
}
}
},
"Boost your productivity with Clipboard Manager" : {
"extractionState" : "stale",
"localizations" : {
Expand Down Expand Up @@ -8228,7 +8258,6 @@
}
},
"Calendar" : {
"extractionState" : "stale",
"localizations" : {
"ar" : {
"stringUnit" : {
Expand Down Expand Up @@ -10522,6 +10551,7 @@
}
},
"Claude attend ta permission" : {
"extractionState" : "stale",
"localizations" : {
"de" : {
"stringUnit" : {
Expand Down Expand Up @@ -10818,6 +10848,35 @@
}
}
},
"Clipboard" : {
"extractionState" : "manual",
"localizations" : {
"de" : {
"stringUnit" : {
"state" : "translated",
"value" : "Zwischenablage"
}
},
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Clipboard"
}
},
"es" : {
"stringUnit" : {
"state" : "translated",
"value" : "Portapapeles"
}
},
"fr" : {
"stringUnit" : {
"state" : "translated",
"value" : "Presse-papiers"
}
}
}
},
"Cliquer pour choisir un fichier — ou y déposer un PDF / texte / code" : {
"localizations" : {
"de" : {
Expand Down Expand Up @@ -26010,7 +26069,6 @@
}
},
"Media" : {
"extractionState" : "stale",
"localizations" : {
"ar" : {
"stringUnit" : {
Expand Down
12 changes: 11 additions & 1 deletion NotchIA/NotchIAViewCoordinator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@ class NotchIAViewCoordinator: ObservableObject {
openLastTabByDefault = false
if ShelfStateViewModel.shared.isEmpty || !Defaults[.openShelfByDefault] {
currentView = .claudeCode
// .claudeCode is Pro-gated and may be hidden/disabled —
// fall back to the first visible tab so we never land on a
// hidden or locked view.
sanitizeCurrentViewIfNeeded()
}
}
}
Expand Down Expand Up @@ -251,7 +255,13 @@ class NotchIAViewCoordinator: ObservableObject {
icon: String = ""
) {
sneakPeekDuration = duration
if type != .music && type != .pomodoro && type != .screenRecording {
// The hudReplacement gate is only for the volume/brightness/backlight
// HUD-replacement peeks. Feature widgets (music, pomodoro, screen
// recording, clipboard, download) are user/engine-driven and must show
// regardless — otherwise the clipboard/download peek was silently
// dropped for everyone who hasn't enabled HUD replacement (the default).
if type != .music && type != .pomodoro && type != .screenRecording
&& type != .clipboard && type != .download {
// close()
if !Defaults[.hudReplacement] {
return
Expand Down
14 changes: 7 additions & 7 deletions NotchIA/enums/generic.swift
Original file line number Diff line number Diff line change
Expand Up @@ -38,19 +38,19 @@ extension NotchViews {
var label: String {
switch self {
case .media:
return "Media"
return String(localized: "Media")
case .calendar:
return "Calendar"
return String(localized: "Calendar")
case .shelf:
return "Shelf"
return String(localized: "Shelf")
case .claudeCode:
return "Claude"
case .digest:
return "Digest"
return String(localized: "Digest")
case .pomodoro:
return "Concentration"
return String(localized: "Concentration")
case .clipboard:
return "Clipboard"
return String(localized: "Clipboard")
}
}

Expand Down Expand Up @@ -150,7 +150,7 @@ enum SliderColorEnum: String, CaseIterable, Defaults.Serializable {
var title: String {
switch self {
case .white:
return "Blanc"
return String(localized: "Blanc")
case .albumArt:
return String(localized: "Suivre la pochette")
case .accent:
Expand Down
Loading