Repository navigation
Expand file tree
/
Copy pathopencode.json
More file actions
117 lines (117 loc) · 3.24 KB
/
Copy pathopencode.json
File metadata and controls
117 lines (117 loc) · 3.24 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
{
"$schema": "https://opencode.ai/config.json",
"instructions": [
"AGENTS.md",
".cursor/rules/*.mdc"
],
"snapshot": true,
"subagent_depth": 1,
"compaction": {
"auto": true,
"prune": true,
"tail_turns": 8
},
"permission": {
"serena_*": "allow",
"context7_*": "allow",
"doom_loop": "ask",
"bash": {
"*": "allow",
"./gradlew": "ask",
"./gradlew *": "ask",
"gradle": "ask",
"gradle *": "ask",
"adb install": "ask",
"adb install *": "ask",
"adb uninstall": "ask",
"adb uninstall *": "ask",
"git commit": "ask",
"git commit *": "ask",
"git push": "ask",
"git push *": "ask",
"git reset": "deny",
"git reset *": "deny",
"git clean": "deny",
"git clean *": "deny",
"rm -rf *": "deny"
}
},
"agent": {
"plan": {
"permission": {
"bash": "ask",
"task": {
"*": "deny",
"explore": "allow",
"plan-research": "allow"
},
"serena_*": "deny",
"serena_initial_instructions": "allow",
"serena_activate_project": "allow",
"serena_get_current_config": "allow",
"serena_get_symbols_overview": "allow",
"serena_find_declaration": "allow",
"serena_find_implementations": "allow",
"serena_find_referencing_symbols": "allow",
"serena_find_symbol": "allow",
"serena_get_diagnostics_for_file": "allow",
"serena_list_memories": "allow",
"serena_read_memory": "allow",
"serena_search_for_pattern": "allow"
}
},
"explore": {
"permission": {
"edit": "deny",
"bash": "deny",
"task": "deny",
"serena_*": "deny",
"serena_initial_instructions": "allow",
"serena_activate_project": "allow",
"serena_get_current_config": "allow",
"serena_get_symbols_overview": "allow",
"serena_find_declaration": "allow",
"serena_find_implementations": "allow",
"serena_find_referencing_symbols": "allow",
"serena_find_symbol": "allow",
"serena_get_diagnostics_for_file": "allow",
"serena_list_memories": "allow",
"serena_read_memory": "allow",
"serena_search_for_pattern": "allow"
}
}
},
"mcp": {
"serena": {
"type": "local",
"command": [
"serena",
"start-mcp-server",
"--project-from-cwd",
"--context=codex",
"--enable-web-dashboard",
"false",
"--open-web-dashboard",
"false"
],
"environment": {
"JAVA_HOME": "{env:HOME}/.local/share/moonlight-android-toolchain/jdk",
"ANDROID_HOME": "{env:HOME}/.local/share/moonlight-android-toolchain/sdk",
"ANDROID_SDK_ROOT": "{env:HOME}/.local/share/moonlight-android-toolchain/sdk",
"PATH": "{env:HOME}/.local/share/moonlight-android-toolchain/jdk/bin:{env:HOME}/.local/share/moonlight-android-toolchain/sdk/platform-tools:{env:PATH}"
},
"enabled": true,
"timeout": 30000
},
"context7": {
"type": "remote",
"url": "https://mcp.context7.com/mcp",
"enabled": true,
"oauth": {},
"timeout": 30000
}
},
"experimental": {
"mcp_timeout": 60000
}
}