Refine local AI hint fallbacks
CI / Validate manifests (push) Has been cancelled
CI / SwiftLint (push) Has been cancelled
CI / iOS / Extension (push) Has been cancelled
CI / macOS (push) Has been cancelled

Keep clipboard actions in Skills and focus offline hints on distinct daily market briefings while preventing retired cached cards from resurfacing.
This commit is contained in:
Rocky
2026-08-23 20:26:34 +08:00
parent 2cc81c4628
commit 03837b0e48
5 changed files with 163 additions and 157 deletions
@@ -53,7 +53,7 @@ public enum AIHintKeywordExtractor: Sendable {
case .news:
return locale == "zh" ? "今日早报" : "Today's briefing"
case .stocks:
return locale == "zh" ? "今日大盘" : "Markets"
return card.displayText
case .calendar:
if locale != "zh", let name = trimmed(card.metadata?.name) {
return name