forked from mattrossman/forecaswatch2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopencode.jsonc
More file actions
40 lines (39 loc) · 1.21 KB
/
opencode.jsonc
File metadata and controls
40 lines (39 loc) · 1.21 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
{
"$schema": "https://opencode.ai/config.json",
"permission": {
"skill": {
"*": "ask",
"pebble": "allow"
},
"bash": {
"mise build": "allow",
"pebble logs *": "allow"
},
"supabase-dev_search_docs": "allow",
"supabase-dev_list_tables": "allow",
"supabase-dev_list_extensions": "allow",
"supabase-dev_list_migrations": "allow",
"supabase-dev_get_logs": "allow",
"supabase-dev_get_advisors": "allow",
"supabase-dev_get_project_url": "allow",
"supabase-dev_get_publishable_keys": "allow",
"supabase-dev_generate_typescript_types": "deny", // Use CLI instead
"supabase-dev_apply_migration": "deny", // Use CLI instead
// Supabase Remote (Read-Only)
"supabase-remote-readonly_list_tables": "allow",
"supabase-remote-readonly_list_extensions": "allow",
"supabase-remote-readonly_execute_sql": "allow"
},
"mcp": {
"supabase-dev": {
"type": "remote",
"url": "http://localhost:54321/mcp",
"enabled": true
},
"supabase-remote-readonly": {
"type": "remote",
"url": "https://mcp.supabase.com/mcp?project_ref={file:.secrets/project-ref}&read_only=true&features=database",
"enabled": true
}
}
}