Let task agents use client Macs directly: bash, copy and hands
This commit is contained in:
@@ -43,7 +43,7 @@ final class Notifier: NSObject, UNUserNotificationCenterDelegate {
|
||||
|
||||
private func wants(_ p: NotificationPrefs, _ item: InboxItem) -> Bool {
|
||||
switch item.kind {
|
||||
case .question, .clientRun: p.questions
|
||||
case .question: p.questions
|
||||
case .sessionError: p.errors
|
||||
case .rateLimited: p.rateLimits
|
||||
}
|
||||
@@ -55,7 +55,6 @@ private func itemText(_ item: InboxItem) -> String {
|
||||
case .question: return str(p, "question") ?? ""
|
||||
case .sessionError: return "Error: \(str(p, "error") ?? "")"
|
||||
case .rateLimited: return "Rate limited"
|
||||
case .clientRun: return "Run on your Mac: \(str(p, "why") ?? "")"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user