-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopencode.json
More file actions
144 lines (144 loc) · 3.78 KB
/
Copy pathopencode.json
File metadata and controls
144 lines (144 loc) · 3.78 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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
{
"$schema": "https://opencode.ai/config.json",
"default_agent": "seki-dev",
"share": "manual",
"snapshot": true,
"watcher": {
"ignore": [
"node_modules/**",
"dist/**",
"bundle.js",
"bundle.js.map",
".git/**",
"test/resources/engine-transcripts/**"
]
},
"formatter": {
"prettier": {
"command": ["npx", "prettier", "--write", "$FILE"],
"extensions": [".js", ".html", ".md", ".json"]
}
},
"permission": {
"read": {
"*": "allow",
"*.env": "deny",
"*.env.*": "deny",
"*.env.example": "allow"
},
"glob": "allow",
"grep": "allow",
"list": "allow",
"edit": "allow",
"question": "allow",
"todowrite": "allow",
"webfetch": "ask",
"websearch": "ask",
"skill": "allow",
"external_directory": "ask",
"doom_loop": "ask",
"bash": {
"*": "ask",
"git status*": "allow",
"git diff*": "allow",
"git log*": "allow",
"git remote*": "allow",
"npm test": "allow",
"npm run format-check": "allow",
"npm run test:e2e:smoke": "allow",
"npm run bundle": "allow",
"npx playwright test*": "ask",
"npm install*": "ask",
"npm run build*": "ask",
"npm run dist*": "ask",
"git add*": "deny",
"git commit*": "deny",
"git push*": "deny",
"rm *": "deny",
"rm -r *": "deny",
"rm -rf *": "deny",
"git reset --hard*": "deny",
"git checkout -- *": "deny",
"git clean*": "deny",
"git push --force*": "deny"
},
"task": {
"*": "deny",
"repo-cartographer": "allow",
"sgf-gtp-specialist": "allow",
"electron-security-reviewer": "allow",
"preact-ui-specialist": "allow",
"ogs-integration-architect": "allow",
"test-verifier": "allow",
"code-reviewer": "allow",
"git-committer": "allow",
"docs-maintainer": "allow",
"packaging-release-guardian": "allow"
}
},
"agent": {
"plan": {
"permission": {
"edit": "deny",
"bash": {
"*": "ask",
"git status*": "allow",
"git diff*": "allow",
"git log*": "allow",
"git add*": "deny",
"git commit*": "deny",
"git push*": "deny",
"git reset --hard*": "deny",
"git checkout -- *": "deny",
"git clean*": "deny",
"npm test": "ask",
"npm run format-check": "ask"
}
}
}
},
"command": {
"dev-task": {
"description": "Run a Seki implementation task",
"agent": "seki-dev",
"template": "Implement this Seki-Sabaki task: $ARGUMENTS"
},
"feature-online": {
"description": "Plan an existing OGS/online change",
"agent": "seki-plan",
"template": "Plan this change to Seki-Sabaki's existing OGS/online behavior: $ARGUMENTS"
},
"verify": {
"description": "Choose and run targeted checks",
"agent": "test-verifier",
"subtask": true,
"template": "Verify the current or specified change: $ARGUMENTS"
},
"review": {
"description": "Strict code review",
"agent": "code-reviewer",
"subtask": true,
"template": "Review the current or specified change: $ARGUMENTS"
},
"e2e-spec": {
"description": "Add Playwright Electron coverage",
"agent": "seki-dev",
"template": "Add or adjust Electron Playwright coverage for: $ARGUMENTS"
},
"upstream-awareness": {
"description": "Compare with upstream-sensitive areas",
"agent": "repo-cartographer",
"subtask": true,
"template": "Map upstream-sensitive areas relevant to: $ARGUMENTS"
}
},
"tool_output": {
"max_lines": 400,
"max_bytes": 20000
},
"compaction": {
"auto": true,
"prune": false,
"tail_turns": 6
}
}