-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathodw.config.example.json
More file actions
75 lines (73 loc) · 3.01 KB
/
Copy pathodw.config.example.json
File metadata and controls
75 lines (73 loc) · 3.01 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
{
"$comment": "Copy to ./odw.config.json, ~/.config/odw/config.json, or pass --config. All keys are TOP-LEVEL (no 'settings' wrapper; odw warns about unknown or misplaced keys). odw never calls model APIs directly: each adapter is a local CLI it shells out to. The nine below ship as built-ins, so you only need this file to change defaults, tune flags, or add your own adapter.",
"defaultAdapter": "claude",
"concurrency": 8,
"maxAgents": 1000,
"timeout": 1800,
"schemaRetries": 2,
"runsRoot": "~/.odw/runs",
"workflowsRoot": "~/.odw/workflows",
"claudeWorkflowsRoot": "~/.claude/workflows",
"claudeJobsScope": "all",
"adapters": {
"codex": {
"label": "Codex CLI",
"command": ["codex", "--search", "exec", "--skip-git-repo-check", "--sandbox", "workspace-write", "--cd", "{workspace}", "-"],
"stdin": "{prompt}",
"flags": { "model": ["--model"] }
},
"claude": {
"label": "Claude Code",
"command": ["claude", "--print", "--permission-mode", "acceptEdits", "--allowedTools", "WebSearch", "WebFetch", "--no-session-persistence"],
"stdin": "{prompt}",
"flags": { "model": ["--model"] }
},
"gemini": {
"label": "Gemini CLI",
"command": ["gemini", "--approval-mode", "auto_edit", "--prompt", "{prompt}"],
"flags": { "model": ["--model"] }
},
"qwen": {
"label": "Qwen Code",
"command": ["qwen", "--approval-mode", "auto-edit", "--output-format", "text", "{prompt}"],
"flags": { "model": ["--model"] }
},
"kimi": {
"label": "Kimi CLI",
"command": ["kimi", "--work-dir", "{workspace}", "--print", "--input-format", "text", "--output-format", "text"],
"stdin": "{prompt}",
"flags": { "model": ["--model"] }
},
"omp": {
"label": "Oh My Pi",
"command": ["omp", "--print", "--no-session", "--approval-mode", "yolo", "--cwd", "{workspace}"],
"stdin": "{prompt}",
"flags": { "model": ["--model"] }
},
"kilo": {
"label": "Kilo Code",
"command": ["kilo", "run", "--format", "json", "--auto", "--dir", "{workspace}"],
"stdin": "{prompt}",
"flags": { "model": ["--model"] },
"output": { "format": "jsonl", "eventType": "text", "textPath": ["part", "text"], "select": "last" }
},
"opencode": {
"label": "OpenCode",
"command": ["opencode", "run", "--format", "json", "--auto", "--dir", "{workspace}"],
"stdin": "{prompt}",
"flags": { "model": ["--model"] },
"output": { "format": "jsonl", "eventType": "text", "textPath": ["part", "text"], "select": "last" }
},
"cursor": {
"label": "Cursor Agent CLI",
"command": ["agent", "--print", "--force", "--trust", "--output-format", "text", "--workspace", "{workspace}"],
"stdin": "{prompt}",
"flags": { "model": ["--model"] }
},
"my_wrapper": {
"label": "My custom wrapper (example)",
"command": ["my-agent-wrapper", "--cwd", "{workspace}", "--prompt-file", "{prompt_file}"],
"flags": { "model": ["--model"] }
}
}
}