-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathopencode.json
More file actions
81 lines (81 loc) · 2.15 KB
/
opencode.json
File metadata and controls
81 lines (81 loc) · 2.15 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
{
"$schema": "https://opencode.ai/config.json",
"default_agent": "plan",
"mcp": {
"deepwiki": {
"type": "remote",
"url": "https://mcp.deepwiki.com/mcp"
},
"context7": {
"type": "remote",
"url": "https://mcp.context7.com/mcp"
},
"svelte": {
"type": "remote",
"url": "https://mcp.svelte.dev/mcp"
}
},
"permission": {
"bash": {
"*": "ask",
"ls *": "allow",
"tree *": "allow",
"find *": "allow",
"grep *": "allow",
"curl -s *": "allow",
"jq -c *": "allow",
"date +%s *": "allow",
"bash .agents/skills/debug-local-o2/scripts/*": "allow",
"bash .agents/skills/debug-local-postgres/scripts/*": "allow",
"docker compose exec postgres psql *": "ask",
"git diff *": "allow",
"git show *": "allow",
"git status *": "allow",
"git log *": "allow",
"git rev-parse *": "allow",
"git branch *": "allow",
"gh issue list *": "allow",
"gh issue view *": "allow",
"gh pr list *": "allow",
"gh pr view *": "allow",
"rm scratchpad/*": "allow",
"pnpm lint": "allow",
"pnpm lint *": "allow",
"pnpm lint:eslint *": "allow",
"pnpm lint:svelte *": "allow",
"pnpm fmt": "allow",
"pnpm fmt *": "allow",
"pnpm fmt:fix": "allow",
"pnpm fmt:fix *": "allow",
"pnpm build": "allow",
"pnpm test:unit": "allow",
"pnpm test:unit *": "allow",
"pnpm test:playwright": "deny",
"pnpm test:playwright *": "deny",
"nu scripts/test-playwright.nu *": "deny",
"source scripts/test-playwright.sh *": "allow",
"bun *": "deny",
"bunx *": "deny",
"npm *": "deny",
"npx *": "deny",
"pnpx *": "deny",
"yarn *": "deny",
"pnpm dlx *": "deny",
"pnpm exec *": "deny",
"pnpm run *": "deny"
},
"edit": {
"*": "ask",
"drizzle/*": "deny",
"src/*": "allow",
"scratchpad/*": "allow",
".agents/skills/*": "allow"
},
"skill": {
"*": "ask",
"debug-local-o2": "allow",
"debug-local-postgres": "allow",
"submit-pull-request": "allow"
}
}
}