nvrsion: Add: Fix AskUserQuestion rendering on mobile by updating rendering logic in AskUserQuestion.swift, Notifications.swift, AskUserQuestionCardView.swift, and SessionDetailView.swift; adjust ./website/iphone.html “Available on TestFlight” button icon to use the testflight icon; refactor iOS live activity interactivity by handling session name taps in SessionLiveActivity.swift; rework “Remote” tab of the settings panel to “Orbital” with network icon and combine “Remote access” and “Mesh” sections into “Mesh”.
Nucleic-Promote: 1 Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
@@ -62,7 +62,11 @@ final class NotificationRouter: NSObject {
|
||||
content.title = sessionTitle
|
||||
content.body = "\(approval.toolName) wants: \(approval.title)"
|
||||
content.sound = .default
|
||||
content.categoryIdentifier = approval.risk.isHigh
|
||||
// AskUserQuestion collects answers, it doesn't gate — a banner Allow would reply with no
|
||||
// selection (updatedInput: nil) and the CLI reports the question went unanswered. So, like
|
||||
// a high-risk approval, it uses the action-less category: it must open the app and be
|
||||
// answered on the picker card.
|
||||
content.categoryIdentifier = approval.risk.isHigh || approval.toolName == AskUserQuestion.toolName
|
||||
? Self.approvalCategory : Self.approvalActionableCategory
|
||||
content.userInfo = [
|
||||
"sessionID": approval.sessionID.rawValue,
|
||||
|
||||
Reference in New Issue
Block a user