| @@ -1,10 +1,13 @@ | ||
| 1 | 1 | import { enhanceDomainSuggestion } from '@agent/lib/domain-suggestion'; |
| 2 | +import { notificationSuggestion } from '@agent/lib/notification-suggestion'; | |
| 2 | 3 | import { create } from 'zustand'; |
| 3 | 4 | import { devtools, persist } from 'zustand/middleware'; |
| 4 | 5 | |
| 6 | +const suggestion = notificationSuggestion(); | |
| 5 | 7 | const pluginSuggestions = (window.extAgentData?.suggestions || []) |
| 6 | 8 | .map(enhanceDomainSuggestion) |
| 9 | + .concat(suggestion ? [suggestion] : []) | |
| 7 | 10 | .filter(Boolean) |
| 8 | 11 | .map((s) => ({ |
| 9 | 12 | ...s, |
| 10 | 13 | source: s.source ?? 'plugin', |