Repository navigation
Expand file tree
/
Copy pathopencode.json
More file actions
71 lines (71 loc) · 2.17 KB
/
Copy pathopencode.json
File metadata and controls
71 lines (71 loc) · 2.17 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
{
"$schema": "https://opencode.ai/config.json",
"instructions": [
"context/ai-interaction.md",
"context/coding-standards.md",
"context/project-overview.md"
],
"skills": {
"paths": ["skills"]
},
"mcp": {
"playwright": {
"type": "local",
"command": ["npx", "-y", "@playwright/mcp"],
"enabled": true
}
},
"permission": {
"bash": {
"*": "ask",
"ls*": "allow",
"cat*": "allow",
"grep*": "allow",
"find*": "allow",
"jq*": "allow",
"git status*": "allow",
"git diff*": "allow",
"git log*": "allow",
"git show*": "allow",
"git ls-files*": "allow",
"git check-ignore*": "allow",
"npm run dev*": "allow",
"npm run build*": "allow",
"npm run screenshot*": "allow",
"node scripts/*": "allow",
"npx playwright*": "allow",
"git commit*": "deny",
"git push*": "deny",
"git reset*": "deny",
"git restore*": "deny",
"git clean*": "deny",
"rm*": "deny",
"npm install*": "ask",
"npx maizzle new*": "ask"
},
"external_directory": {
"~/projects/old-emails/**": "allow"
},
"edit": {
"~/projects/old-emails/**": "deny"
}
},
"agent": {
"code-scanner": {
"description": "Use this agent for a focused audit of recently written or modified code in this repo — Maizzle templates, Vue email components, Tailwind theme config, and build config — for security, correctness, structure, and email-client pitfalls. Reports only real, currently-present issues, never missing features.",
"mode": "subagent",
"prompt": "{file:./agents/code-scanner.md}",
"permission": {
"edit": "deny"
}
},
"ui-review": {
"description": "Use this agent to review rendered emails in the dev server: layout at desktop and mobile widths, image integrity, alt text, dark mode, and comparison against the old email's compiled output. Requires the Maizzle dev server (or build output) — do not use it before the project is scaffolded.",
"mode": "subagent",
"prompt": "{file:./agents/ui-review.md}",
"permission": {
"edit": "deny"
}
}
}
}