吸收数字员工通知权限引导
This commit is contained in:
@@ -233,7 +233,11 @@ function checkDigitalNotificationPreferences() {
|
||||
[adapter, "submitBridgeNotificationAction", "adapter notification action bridge submit helper"],
|
||||
[adapter, "showDesktopNotification", "adapter desktop notification bridge declaration"],
|
||||
[adapter, "/api/notifications/desktop", "adapter desktop notification endpoint"],
|
||||
[adapter, "/api/notifications/desktop/status", "adapter desktop notification status endpoint"],
|
||||
[adapter, "/api/notifications/desktop/settings/open", "adapter desktop notification settings endpoint"],
|
||||
[adapter, "showBridgeDesktopNotification", "adapter desktop notification helper"],
|
||||
[adapter, "readBridgeDesktopNotificationStatus", "adapter desktop notification status helper"],
|
||||
[adapter, "openBridgeDesktopNotificationSettings", "adapter desktop notification settings helper"],
|
||||
[adapter, "notificationMatchesPreferences", "adapter notification preference filter"],
|
||||
[adapter, "desktop_enabled", "adapter notification desktop preference"],
|
||||
[adapter, "update_notification_preferences", "adapter notification preference save action"],
|
||||
@@ -241,10 +245,18 @@ function checkDigitalNotificationPreferences() {
|
||||
[api, "patchNotificationPreferences", "notification preferences API patcher"],
|
||||
[api, "pullNotificationUpdates", "embedded notification updates API"],
|
||||
[api, "showDesktopNotification", "embedded desktop notification API"],
|
||||
[api, "getDesktopNotificationStatus", "embedded desktop notification status API"],
|
||||
[api, "openDesktopNotificationSettings", "embedded desktop notification settings API"],
|
||||
[types, "NotificationPreferences", "notification preferences type"],
|
||||
[types, "DesktopNotificationStatus", "desktop notification status type"],
|
||||
[types, "DesktopNotificationSettingsOpenResult", "desktop notification settings result type"],
|
||||
[types, "desktop_enabled", "notification desktop preference type field"],
|
||||
[types, "NotificationUpdatesPullResult", "notification updates pull result type"],
|
||||
[shell, "de-notification-preferences", "notification preferences UI"],
|
||||
[shell, "桌面通知状态", "desktop notification status UI"],
|
||||
[shell, "测试桌面通知", "desktop notification test UI"],
|
||||
[shell, "打开系统设置", "desktop notification settings UI"],
|
||||
[shell, "自动桌面通知发送失败", "automatic desktop notification failure feedback"],
|
||||
[shell, "handleNotificationSync", "notification manual sync UI action"],
|
||||
[shell, "showUnreadDesktopNotifications", "notification desktop trigger helper"],
|
||||
[shell, "qimingclaw:digital-desktop-notified", "notification desktop dedupe key"],
|
||||
@@ -253,7 +265,10 @@ function checkDigitalNotificationPreferences() {
|
||||
[stateService, "update_notification_preferences", "notification preference runtime event"],
|
||||
[stateService, "desktop_enabled", "notification desktop preference state field"],
|
||||
[desktopNotificationService, "showDigitalEmployeeDesktopNotification", "desktop notification service"],
|
||||
[desktopNotificationService, "getDigitalEmployeeDesktopNotificationStatus", "desktop notification status service"],
|
||||
[desktopNotificationService, "openDigitalEmployeeDesktopNotificationSettings", "desktop notification settings service"],
|
||||
[desktopNotificationService, "Notification", "Electron Notification usage"],
|
||||
[desktopNotificationService, "shell.openExternal", "Electron notification settings opener"],
|
||||
[desktopNotificationService, "notification_unavailable", "desktop notification unavailable fallback"],
|
||||
[stateService, "notification_updates_pulled", "notification updates pulled runtime event"],
|
||||
[stateService, "notification_action_submitted", "notification action submitted runtime event"],
|
||||
@@ -274,9 +289,13 @@ function checkDigitalNotificationPreferences() {
|
||||
[ipcHandlers, "digitalEmployee:pullNotificationUpdates", "IPC notification updates pull handler"],
|
||||
[ipcHandlers, "digitalEmployee:submitNotificationAction", "IPC notification action submit handler"],
|
||||
[ipcHandlers, "digitalEmployee:showDesktopNotification", "IPC desktop notification handler"],
|
||||
[ipcHandlers, "digitalEmployee:getDesktopNotificationStatus", "IPC desktop notification status handler"],
|
||||
[ipcHandlers, "digitalEmployee:openDesktopNotificationSettings", "IPC desktop notification settings handler"],
|
||||
[preload, "pullNotificationUpdates", "preload notification updates bridge"],
|
||||
[preload, "submitNotificationAction", "preload notification action bridge"],
|
||||
[preload, "showDesktopNotification", "preload desktop notification bridge"],
|
||||
[preload, "getDesktopNotificationStatus", "preload desktop notification status bridge"],
|
||||
[preload, "openDesktopNotificationSettings", "preload desktop notification settings bridge"],
|
||||
];
|
||||
const missing = requiredSnippets
|
||||
.filter(([content, snippet]) => !content.includes(snippet))
|
||||
|
||||
Reference in New Issue
Block a user