-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathopencode.jsonc
More file actions
37 lines (35 loc) · 874 Bytes
/
opencode.jsonc
File metadata and controls
37 lines (35 loc) · 874 Bytes
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
{
"$schema": "https://opencode.ai/config.json",
"agent": {
"build": {
"tools": {
"skill": true
}
}
},
"command": {
"test": {
"template": "Run `python -m pytest tests/ -v` and report results.",
"description": "Run Palisade scanner tests"
},
"lint": {
"template": "Run `ruff check src/` and fix any issues.",
"description": "Lint Palisade scanner code"
},
"scan": {
"template": "Run `pis scan <url>` to scan a URL for prompt injection.",
"description": "Scan a URL for prompt injection",
"arguments": [
{
"name": "url",
"description": "URL or file path to scan",
"required": true
}
]
},
"web": {
"template": "Start the Palisade web UI with `pis web`.",
"description": "Start Palisade web UI"
}
}
}