Replace 'tabCapture' with 'desktopCapture' to match the new getDisplayMedia capture path (D-A6). Remove 'alarms' because the Phase 01 SW keepalive moves to a long-lived chrome.runtime.connect port and the alarms code is deleted in Plan 05; declaring an unused permission expands attack surface and is mitigated here per T-1-02. activeTab is retained for chrome.tabs.captureVisibleTab in Phase 3, and offscreen is retained for chrome.offscreen.createDocument.
41 lines
898 B
JSON
41 lines
898 B
JSON
{
|
|
"manifest_version": 3,
|
|
"name": "AI Call Recorder",
|
|
"version": "1.0.0",
|
|
"description": "Запись сессий операторов для диагностики ошибок",
|
|
"permissions": [
|
|
"desktopCapture",
|
|
"activeTab",
|
|
"downloads",
|
|
"scripting",
|
|
"storage",
|
|
"offscreen"
|
|
],
|
|
"host_permissions": [
|
|
"<all_urls>"
|
|
],
|
|
"background": {
|
|
"service_worker": "src/background/index.ts",
|
|
"type": "module"
|
|
},
|
|
"content_scripts": [
|
|
{
|
|
"matches": ["<all_urls>"],
|
|
"js": ["src/content/index.ts"],
|
|
"run_at": "document_start"
|
|
}
|
|
],
|
|
"action": {
|
|
"default_popup": "src/popup/index.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"
|
|
}
|
|
} |