Files
ShieldAI/packages/extension/public/manifest.json
Michael Freno 35e9f7e812 Fix 4 P1 and 2 P2 code review findings for FRE-4576
P1 fixes:
- Fix import paths in background/index.ts (./ -> ../lib/)
- Fix Promise-in-string bug in api-client.ts authenticate()
- Add missing background/service_worker key to manifest
- Copy HTML to public/ so Vite places them in dist

P2 fixes:
- Add notifications permission to manifest
- Make showWarningNotification async with proper await

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-10 11:53:25 -04:00

53 lines
1.1 KiB
JSON

{
"manifest_version": 3,
"name": "ShieldAI - Phishing & Spam Protection",
"version": "0.1.0",
"description": "Real-time phishing detection and spam protection powered by ShieldAI",
"background": {
"service_worker": "background.js"
},
"permissions": [
"activeTab",
"storage",
"tabs",
"scripting",
"declarativeNetRequest",
"notifications"
],
"host_permissions": [
"https://*/*",
"http://*/*"
],
"action": {
"default_popup": "popup.html",
"default_icon": {
"16": "icons/icon16.png",
"48": "icons/icon48.png",
"128": "icons/icon128.png"
}
},
"icons": {
"16": "icons/icon16.png",
"48": "icons/icon48.png",
"128": "icons/icon128.png"
},
"options_page": "options.html",
"content_scripts": [
{
"matches": ["https://*/*", "http://*/*"],
"js": ["content.js"],
"run_at": "document_start",
"all_frames": false
}
],
"declarative_net_request": {
"rule_resources": [
{
"id": "phishing_rules",
"enabled": true,
"path": "rules/phishing-rules.json"
}
]
}
}