|
57 | 57 | theme = "catppuccin"; |
58 | 58 | provider = { |
59 | 59 | opencode = { |
60 | | -# timeout = 120000; # 2 minutes - handles long context processing |
| 60 | +# timeout = 120000; |
61 | 61 | # retryAttempts = 3; |
62 | 62 | # retryDelay = 1000; |
63 | 63 | # retryExponentialBase = 2.0; |
|
115 | 115 | agent = { |
116 | 116 | manager = { |
117 | 117 | mode = "primary"; |
118 | | - model = "opencode/claude-sonnet-4-5"; |
| 118 | + model = "google/gemini-2.5-pro"; |
| 119 | + # model = "opencode/claude-sonnet-4-5"; |
119 | 120 | prompt = '' |
120 | 121 | You are the Technical Project Manager. Analyze user intent and delegate to specialists. For complex web research, use @procurement. For NixOS configuration, use @nixos-engineer. |
121 | 122 | ''; |
|
183 | 184 | }; |
184 | 185 | web-extractor = { |
185 | 186 | mode = "subagent"; |
186 | | - model = "opencode/gemini-3-flash"; |
| 187 | + model = "google/gemini-2.5-flash"; |
| 188 | + # model = "opencode/gemini-3-flash"; |
187 | 189 | prompt = "You are a Parsing Specialist. Convert raw HTML into clean JSON/Markdown. Discover API endpoints by inspecting source code."; |
188 | 190 | # tools = ["firecrawl" "agentql"]; |
189 | 191 | temperature = 0.1; |
|
208 | 210 | }; |
209 | 211 | triage-specialist = { |
210 | 212 | mode = "subagent"; |
211 | | - model = "opencode/gemini-3-pro"; |
| 213 | + model = "google/gemini-2.5-pro"; |
| 214 | + # model = "opencode/gemini-3-pro"; |
212 | 215 | prompt = '' |
213 | 216 | You are the Triage Lead. Your job is to find the "Why". |
214 | 217 | 1. When a failure is reported, query Grafana/Loki for error logs. |
|
271 | 274 | }; |
272 | 275 | nixos-engineer = { |
273 | 276 | mode = "subagent"; |
274 | | - model = "opencode/claude-sonnet-4-5"; |
| 277 | + model = "google/gemini-2.5-pro"; |
| 278 | + # model = "opencode/claude-sonnet-4-5"; |
275 | 279 | prompt = '' |
276 | 280 | You are a NixOS Specialist. |
277 | 281 | - Your goal is to maintain the system closure in /etc/nixos. |
|
315 | 319 | }; |
316 | 320 | home-assistant-agent = { |
317 | 321 | mode = "subagent"; |
318 | | - model = "opencode/claude-sonnet-4-5"; |
| 322 | + model = "google/gemini-2.5-pro"; |
| 323 | + # model = "opencode/claude-sonnet-4-5"; |
319 | 324 | prompt = '' |
320 | 325 | You are an IoT Specialist. |
321 | 326 | - You write Home Assistant YAML and ESPHome configs. |
|
348 | 353 | }; |
349 | 354 | infra-manager = { |
350 | 355 | mode = "subagent"; |
351 | | - model = "opencode/gemini-3-pro"; |
| 356 | + model = "google/gemini-2.5-pro"; |
| 357 | + # model = "opencode/gemini-3-pro"; |
352 | 358 | prompt = '' |
353 | 359 | You are the Network Custodian. |
354 | 360 | - READ first: Always consult `{file:~/.config/opencode/knowledge/infrastructure.md}` to locate devices. |
|
380 | 386 | }; |
381 | 387 | polyglot-coder = { |
382 | 388 | mode = "subagent"; |
383 | | - model = "opencode/gpt-5.2-codex"; |
| 389 | + model = "google/gemini-2.5-pro"; |
| 390 | + # model = "opencode/gpt-5.2-codex"; |
384 | 391 | prompt = '' |
385 | 392 | You are an Expert Software Engineer specializing in Bash, Python 3 and PHP 8.3+. |
386 | 393 | - BASH: Use 'set -euo pipefail', local variables, and prioritize readability. Always assume `shellcheck` will be run. |
|
416 | 423 | }; |
417 | 424 | secops = { |
418 | 425 | mode = "subagent"; |
419 | | - model = "opencode/claude-opus-4-5"; |
| 426 | + model = "google/gemini-2.5-pro"; |
| 427 | + # model = "opencode/claude-opus-4-5"; |
420 | 428 | prompt = "Ethical Hacker. Perform pentesting (ZAP/Nmap), risk modelling, and gather threat intelligence. Map findings to CVEs."; |
421 | 429 | temperature = 0.4; |
422 | 430 | topP = 0.9; |
|
446 | 454 | "@mohak34/opencode-notifier@latest" |
447 | 455 | ]; |
448 | 456 | permission = { |
449 | | - edit = "ask"; |
450 | 457 | bash = { |
451 | 458 | # Allow non-destructive git commands with wildcards |
452 | 459 | "git status*" = "allow"; |
|
555 | 562 | "docker network ls*" = "allow"; |
556 | 563 | "docker volume ls*" = "allow"; |
557 | 564 | }; |
| 565 | + edit = "ask"; |
558 | 566 | read = "allow"; |
| 567 | + context_info = "allow"; |
559 | 568 | list = "allow"; |
560 | 569 | glob = "allow"; |
561 | 570 | grep = "allow"; |
|
0 commit comments