-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopencode.json
More file actions
112 lines (112 loc) · 2.76 KB
/
Copy pathopencode.json
File metadata and controls
112 lines (112 loc) · 2.76 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
{
"$schema": "https://opencode.ai/config.json",
"model": "anthropic/claude-sonnet-4-5",
"small_model": "anthropic/claude-haiku-4-5",
"shell": "bash",
"formatter": {
"biome": {
"command": ["pnpm", "biome", "format", "--write", "$FILE"],
"extensions": [".ts", ".tsx", ".js", ".jsx", ".json", ".jsonc"]
}
},
"lsp": true,
"watcher": {
"ignore": ["node_modules/**", "dist/**", ".turbo/**", "*.d.ts", "pnpm-lock.yaml"]
},
"compaction": {
"auto": true,
"prune": true,
"reserved": 8000
},
"permission": {
"*": "allow",
"bash": {
"*": "ask",
"pnpm build*": "allow",
"pnpm test*": "allow",
"pnpm lint*": "allow",
"pnpm typecheck*": "allow",
"pnpm dev*": "allow",
"pnpm format*": "allow",
"git status*": "allow",
"git log*": "allow",
"git diff*": "allow",
"git branch*": "allow",
"git stash*": "allow",
"git checkout*": "allow",
"git push*": "deny",
"git reset --hard*": "deny",
"rm -rf*": "deny"
},
"edit": "ask",
"external_directory": {
"~/Desktop/GitHub Apps/finpay-app/**": "allow",
"~/Desktop/GitHub Apps/behavioros/.opencode/skills/**": "allow",
"~/.opencode/skills/**": "allow",
"~/.agents/skills/**": "allow",
"~/.local/share/opencode/tool-output/**": "allow",
"~/AppData/Local/Temp/opencode/**": "allow"
},
"skill": {
"*": "allow",
"behavioros-*": "allow"
}
},
"mcpServers": {
"behavioros": {
"command": "node",
"args": ["packages/mcp-server/dist/server.js"],
"env": {
"BEHAVIOROS_DNA_PATH": "./dnas/enterprise-governance.yaml",
"BEHAVIOROS_PROJECT": "behavioros",
"BEHAVIOROS_LOG_LEVEL": "debug"
}
}
},
"mcp": {
"behavioros": {
"type": "local",
"command": ["node", "packages/mcp-server/dist/server.js"],
"cwd": ".",
"enabled": true,
"timeout": 30000,
"environment": {
"BEHAVIOROS_DNA_PATH": "./dnas"
}
}
},
"instructions": ["docs/PROTOCOL.md", "AGENTS.md"],
"plugin": ["./.opencode/plugins/protocol-enforcer.ts"],
"agent": {
"orchestrator": {
"permission": {
"edit": "deny",
"write": "deny",
"bash": { "*": "deny" },
"task": { "*": "allow" }
}
},
"build": {
"permission": {
"bash": {
"*": "ask",
"pnpm *": "allow",
"git status*": "allow",
"git log*": "allow",
"git diff*": "allow"
}
}
},
"plan": {
"permission": {
"bash": {
"*": "ask",
"pnpm build*": "allow",
"pnpm test*": "allow",
"git status*": "allow",
"git log*": "allow"
}
}
}
}
}