-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmanifest.json
More file actions
82 lines (82 loc) · 2.04 KB
/
Copy pathmanifest.json
File metadata and controls
82 lines (82 loc) · 2.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
{
"manifest_version": 3,
"name": "Select2AI: GitHub Models",
"version": "2.0.0",
"description": "Select text on any page to ask GitHub Models: summarize, explain, answer, code intelligence, chat, history, knowledge base, and more.",
"action": {
"default_title": "Select2AI",
"default_popup": "popup.html"
},
"icons": {
"16": "icons/icon16.png",
"48": "icons/icon48.png",
"128": "icons/icon128.png"
},
"permissions": [
"storage",
"activeTab",
"scripting",
"contextMenus",
"clipboardWrite",
"commands",
"tts"
],
"host_permissions": [
"https://models.github.ai/*",
"<all_urls>"
],
"background": {
"service_worker": "background.js",
"type": "module"
},
"options_page": "options/options.html",
"commands": {
"open-action-menu": {
"suggested_key": {
"default": "Ctrl+Shift+A",
"mac": "Command+Shift+A"
},
"description": "Open Select2AI action menu for current selection"
},
"save-to-kb": {
"suggested_key": {
"default": "Ctrl+Shift+S",
"mac": "Command+Shift+S"
},
"description": "Save last response to Knowledge Base"
}
},
"content_scripts": [
{
"matches": ["<all_urls>"],
"js": ["contentScript.js"],
"css": ["styles/floating.css"],
"run_at": "document_idle"
}
],
"web_accessible_resources": [
{
"resources": [
"vendor/gsap.min.js",
"vendor/lucide.min.js",
"scripts/icons.js",
"styles/floating.css",
"vendor/katex.min.js",
"vendor/katex.min.css",
"modules/smartDetect.js",
"modules/chatHistory.js",
"modules/knowledgeBase.js",
"modules/responseToolbar.js",
"modules/compareMode.js",
"modules/promptTemplates.js",
"modules/iconRegistry.js",
"modules/contentUI.js",
"modules/contentQuery.js"
],
"matches": ["<all_urls>"]
}
],
"content_security_policy": {
"extension_pages": "script-src 'self'; object-src 'self'"
}
}