|
2 | 2 | "$schema": "https://opencode.ai/config.json", |
3 | 3 |
|
4 | 4 | // === Models === |
5 | | - "model": "anthropic/claude-opus-4-5", |
6 | | - "small_model": "anthropic/claude-haiku-4-5", // title gen, lightweight tasks |
| 5 | + "model": "openai/gpt-5.2-codex", |
| 6 | + "small_model": "openai/gpt-5.2", // title gen, lightweight tasks |
7 | 7 | "autoupdate": true, |
8 | | - "plugin": [ |
9 | | - "opencode-anthropic-auth@0.0.7" |
10 | | - ], |
11 | 8 | // === TUI === |
12 | 9 | "tui": { |
13 | 10 | "scroll_acceleration": { |
|
21 | 18 | "biome": { |
22 | 19 | "command": ["npx", "biome", "format", "--write", "$FILE"], |
23 | 20 | "extensions": [".js", ".jsx", ".ts", ".tsx", ".json", ".jsonc"] |
24 | | - }, |
25 | | - "prettier": { |
26 | | - "command": ["npx", "prettier", "--write", "$FILE"], |
27 | | - "extensions": [".js", ".jsx", ".ts", ".tsx", ".json", ".md", ".yaml", ".yml", ".css", ".scss"] |
28 | 21 | } |
29 | 22 | }, |
30 | 23 |
|
|
60 | 53 | "type": "local", |
61 | 54 | "command": ["npx", "-y", "next-devtools-mcp@latest"] |
62 | 55 | }, |
63 | | - // "agent-mail": { |
64 | | - // "type": "remote", |
65 | | - // "url": "http://127.0.0.1:8765/mcp/" |
66 | | - // }, |
67 | 56 | "chrome-devtools": { |
68 | 57 | "type": "local", |
69 | 58 | "command": ["npx", "-y", "chrome-devtools-mcp@latest"] |
|
77 | 66 | "fetch": { |
78 | 67 | "type": "local", |
79 | 68 | "command": ["uvx", "mcp-server-fetch"] |
80 | | - }, |
81 | | - // Snyk security scanning - deps, code, IaC, containers |
82 | | - "snyk": { |
83 | | - "type": "local", |
84 | | - "command": ["npx", "-y", "snyk@latest", "mcp", "-t", "stdio"] |
85 | | - }, |
86 | | - // Kernel - cloud browser automation, Playwright execution, app deployment |
87 | | - // OAuth auth - run `opencode mcp auth kernel` to authenticate |
88 | | - "kernel": { |
89 | | - "type": "remote", |
90 | | - "url": "https://mcp.onkernel.com/mcp" |
91 | 69 | } |
92 | 70 | }, |
93 | 71 |
|
|
99 | 77 | }, |
100 | 78 | // Plan agent - read-only analysis, no file writes |
101 | 79 | "plan": { |
102 | | - "model": "anthropic/claude-opus-4-5", // Opus for planning (cheaper) |
| 80 | + "model": "openai/gpt-5.2-codex", // Opus for planning (cheaper) |
103 | 81 | "temperature": 0.1, |
104 | 82 | "tools": { |
105 | 83 | "write": false, |
|
127 | 105 | }, |
128 | 106 | // Security agent - read-only vulnerability scanning with Snyk |
129 | 107 | "security": { |
130 | | - "model": "anthropic/claude-sonnet-4-5", |
| 108 | + "model": "openai/gpt-5.2-codex", |
131 | 109 | "temperature": 0.1, // Low temp for deterministic security analysis |
132 | 110 | "tools": { |
133 | 111 | "write": false, |
|
138 | 116 | }, |
139 | 117 | // Test writer agent - generates comprehensive test suites |
140 | 118 | "test-writer": { |
141 | | - "model": "anthropic/claude-sonnet-4-5", |
| 119 | + "model": "openai/gpt-5.2-codex", |
142 | 120 | "temperature": 0.2, // Slight creativity for test case generation |
143 | 121 | "permission": { |
144 | 122 | "write": { |
|
153 | 131 | }, |
154 | 132 | // Docs agent - documentation writer (cheaper model) |
155 | 133 | "docs": { |
156 | | - "model": "anthropic/claude-haiku-4-5", // Haiku for cost-effective docs |
| 134 | + "model": "openai/gpt-5.2-codex", // Haiku for cost-effective docs |
157 | 135 | "temperature": 0.3, // More creativity for readable documentation |
158 | 136 | "permission": { |
159 | 137 | "write": { |
|
0 commit comments