forked from ultraworkers/claw-code
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopencode.json
More file actions
42 lines (42 loc) · 1.81 KB
/
Copy pathopencode.json
File metadata and controls
42 lines (42 loc) · 1.81 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
{
"$schema": "https://opencode.ai/config.json",
"instructions": ["AGENTS.md"],
"model": "zai/glm-5.1",
"provider": {
"zai": {
"options": {
"apiKey": "{env:ZAI_API_KEY}"
}
}
},
"command": {
"test": {
"template": "Run the full Python test suite: python -m unittest discover -s tests -v\nReport the results. If any tests fail, investigate and suggest fixes.",
"description": "Run all Python tests"
},
"single-test": {
"template": "Run a single Python test: python -m unittest $ARGUMENTS -v\nReport the result and suggest fixes if it fails.",
"description": "Run a single test (pass test path as argument)"
},
"parity": {
"template": "Run the parity audit: python -m src.main parity-audit\nAnalyze the output and report what's missing or incomplete.",
"description": "Check Python-to-TypeScript parity"
},
"rust-test": {
"template": "Run the Rust test suite from the rust/ directory: cargo test --workspace\nReport failures and suggest fixes.",
"description": "Run all Rust crate tests"
},
"rust-lint": {
"template": "Run clippy on the Rust workspace from the rust/ directory: cargo clippy --workspace\nReport any warnings or errors.",
"description": "Lint Rust crates with clippy"
},
"sync": {
"template": "Run: python scripts/upstream_sync.py fetch\nThen: python scripts/upstream_sync.py status\nReport what changed upstream and recommend which changes to port.",
"description": "Fetch and diff against upstream (instructkr/claw-code)"
},
"snapshot": {
"template": "Run: python scripts/upstream_sync.py snapshot\nThen: python scripts/upstream_sync.py diff\nAnalyze the differences and recommend what to port.",
"description": "Snapshot upstream src/ and compare"
}
}
}