-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmanifest.json
More file actions
69 lines (69 loc) · 1.7 KB
/
Copy pathmanifest.json
File metadata and controls
69 lines (69 loc) · 1.7 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
{
"manifest_version": 3,
"name": "Mochi",
"version": "1.0.0",
"description": "Animated AI pets for your browser. Chat with a mochi or connect your own agent.",
"permissions": ["storage", "tabs", "scripting"],
"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"
},
"background": {
"service_worker": "background.js",
"type": "module"
},
"content_scripts": [
{
"matches": [
"https://mochi.dev/*",
"https://www.mochi.dev/*"
],
"js": ["mochi-shared.js", "content.js"],
"css": ["style.css"],
"run_at": "document_idle"
},
{
"matches": [
"https://mochi.dev/*",
"https://www.mochi.dev/*"
],
"js": ["dapp_content_script.js"],
"run_at": "document_idle",
"all_frames": true
}
],
"host_permissions": [
"https://mochi.dev/*",
"https://www.mochi.dev/*",
"https://openrouter.ai/*",
"http://127.0.0.1/*",
"http://localhost/*",
"ws://127.0.0.1/*",
"ws://localhost/*"
],
"options_page": "onboarding-installed.html",
"optional_host_permissions": [
"http://*/*",
"https://*/*",
"ws://*/*",
"wss://*/*"
],
"content_security_policy": {
"extension_pages": "script-src 'self'; object-src 'self'; connect-src 'self' https: http: ws: wss:;"
},
"web_accessible_resources": [
{
"resources": ["characters/**", "assets/mochi-success.wav", "assets/mochi-error.wav", "assets/sounds/*"],
"matches": ["<all_urls>"]
}
]
}