-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopencode.json
More file actions
101 lines (101 loc) · 3.03 KB
/
opencode.json
File metadata and controls
101 lines (101 loc) · 3.03 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
{
"$schema": "https://opencode.ai/config.json",
"permission": {
"edit": "allow",
"task": "allow",
"webfetch": "allow",
"lsp": "allow",
"serena_get_symbols_overview": "allow",
"serena_find_symbol": "allow",
"serena_find_referencing_symbols": "allow",
"serena_replace_symbol_body": "allow",
"serena_insert_after_symbol": "allow",
"serena_insert_before_symbol": "allow",
"serena_rename_symbol": "allow",
"bash": {
"*": "ask",
"go test*": "allow",
"go build*": "allow",
"go vet*": "allow",
"go run*": "allow",
"gofmt*": "allow",
"goimports*": "allow",
"git add*": "allow",
"git stash*": "allow",
"git show*": "allow",
"git status*": "allow",
"git diff*": "allow",
"git log*": "allow",
"git branch*": "allow",
"git checkout*": "allow",
"git init*": "allow",
"git commit*": "allow",
"npm test": "allow",
"npm test *": "allow",
"npm run *": "allow",
"npm ci": "allow",
"npm ci *": "allow",
"npx vitest": "allow",
"npx vitest *": "allow",
"npx tsx": "allow",
"npx tsx *": "allow",
"npx esbuild": "allow",
"npx esbuild *": "allow",
"codemap*": "allow",
"cat *": "deny",
"ls": "allow",
"ls *": "allow",
"wc *": "allow",
"which *": "allow",
"head *": "deny",
"tail *": "deny",
"find *": "allow",
"grep *": "deny",
"rg *": "deny",
"tree *": "allow",
"mkdir *": "allow",
"echo *": "allow",
"echo *>*": "deny",
"curl *localhost:10101*": "allow",
"curl *127.0.0.1:10101*": "allow",
"./diffty*": "allow",
"sleep *": "allow",
"lsof *": "allow",
"pgrep *": "allow"
},
"playwright_browser_snapshot": "allow",
"playwright_browser_console_messages": "allow",
"playwright_browser_network_requests": "allow",
"playwright_browser_navigate": "allow",
"playwright_browser_navigate_back": "allow",
"playwright_browser_click": "allow",
"playwright_browser_type": "allow",
"playwright_browser_fill_form": "allow",
"playwright_browser_select_option": "allow",
"playwright_browser_press_key": "allow",
"playwright_browser_hover": "allow",
"playwright_browser_drag": "allow",
"playwright_browser_take_screenshot": "allow",
"playwright_browser_tabs": "allow",
"playwright_browser_close": "allow",
"playwright_browser_wait_for": "allow",
"playwright_browser_resize": "allow",
"playwright_browser_handle_dialog": "allow",
"playwright_browser_install": "allow"
},
"mcp": {
"serena": {
"type": "local",
"command": ["uvx", "--from", "git+https://github.com/oraios/serena", "serena", "start-mcp-server", "--project", "/home/george/diffty", "--context", "ide", "--open-web-dashboard", "False"],
"enabled": true
},
"ado": {
"enabled": false
},
"playwright": {
"type": "local",
"command": ["npx", "@playwright/mcp@latest"],
"enabled": true
}
}
}