mirror of
https://github.com/affaan-m/ECC.git
synced 2026-08-28 18:59:47 +02:00
fix(opencode): inherit user-selected models
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
{
|
||||
"$schema": "https://opencode.ai/config.json",
|
||||
"model": "anthropic/claude-sonnet-4-5",
|
||||
"small_model": "anthropic/claude-haiku-4-5",
|
||||
"default_agent": "build",
|
||||
"instructions": [
|
||||
"AGENTS.md",
|
||||
@@ -31,7 +29,6 @@
|
||||
"build": {
|
||||
"description": "Primary coding agent for development work",
|
||||
"mode": "primary",
|
||||
"model": "anthropic/claude-sonnet-4-5",
|
||||
"tools": {
|
||||
"write": true,
|
||||
"edit": true,
|
||||
@@ -43,7 +40,6 @@
|
||||
"planner": {
|
||||
"description": "Expert planning specialist for complex features and refactoring. Use for implementation planning, architectural changes, or complex refactoring.",
|
||||
"mode": "subagent",
|
||||
"model": "anthropic/claude-opus-4-5",
|
||||
"prompt": "{file:prompts/agents/planner.txt}",
|
||||
"tools": {
|
||||
"read": true,
|
||||
@@ -55,7 +51,6 @@
|
||||
"architect": {
|
||||
"description": "Software architecture specialist for system design, scalability, and technical decision-making.",
|
||||
"mode": "subagent",
|
||||
"model": "anthropic/claude-opus-4-5",
|
||||
"prompt": "{file:prompts/agents/architect.txt}",
|
||||
"tools": {
|
||||
"read": true,
|
||||
@@ -67,7 +62,6 @@
|
||||
"code-reviewer": {
|
||||
"description": "Expert code review specialist. Reviews code for quality, security, and maintainability. Use immediately after writing or modifying code.",
|
||||
"mode": "subagent",
|
||||
"model": "anthropic/claude-opus-4-5",
|
||||
"prompt": "{file:prompts/agents/code-reviewer.txt}",
|
||||
"tools": {
|
||||
"read": true,
|
||||
@@ -79,7 +73,6 @@
|
||||
"security-reviewer": {
|
||||
"description": "Security vulnerability detection and remediation specialist. Use after writing code that handles user input, authentication, API endpoints, or sensitive data.",
|
||||
"mode": "subagent",
|
||||
"model": "anthropic/claude-opus-4-5",
|
||||
"prompt": "{file:prompts/agents/security-reviewer.txt}",
|
||||
"tools": {
|
||||
"read": true,
|
||||
@@ -91,7 +84,6 @@
|
||||
"tdd-guide": {
|
||||
"description": "Test-Driven Development specialist enforcing write-tests-first methodology. Use when writing new features, fixing bugs, or refactoring code. Ensures 80%+ test coverage.",
|
||||
"mode": "subagent",
|
||||
"model": "anthropic/claude-opus-4-5",
|
||||
"prompt": "{file:prompts/agents/tdd-guide.txt}",
|
||||
"tools": {
|
||||
"read": true,
|
||||
@@ -103,7 +95,6 @@
|
||||
"build-error-resolver": {
|
||||
"description": "Build and TypeScript error resolution specialist. Use when build fails or type errors occur. Fixes build/type errors only with minimal diffs.",
|
||||
"mode": "subagent",
|
||||
"model": "anthropic/claude-opus-4-5",
|
||||
"prompt": "{file:prompts/agents/build-error-resolver.txt}",
|
||||
"tools": {
|
||||
"read": true,
|
||||
@@ -115,7 +106,6 @@
|
||||
"e2e-runner": {
|
||||
"description": "End-to-end testing specialist using Playwright. Generates, maintains, and runs E2E tests for critical user flows.",
|
||||
"mode": "subagent",
|
||||
"model": "anthropic/claude-opus-4-5",
|
||||
"prompt": "{file:prompts/agents/e2e-runner.txt}",
|
||||
"tools": {
|
||||
"read": true,
|
||||
@@ -127,7 +117,6 @@
|
||||
"doc-updater": {
|
||||
"description": "Documentation and codemap specialist. Use for updating codemaps and documentation.",
|
||||
"mode": "subagent",
|
||||
"model": "anthropic/claude-opus-4-5",
|
||||
"prompt": "{file:prompts/agents/doc-updater.txt}",
|
||||
"tools": {
|
||||
"read": true,
|
||||
@@ -139,7 +128,6 @@
|
||||
"refactor-cleaner": {
|
||||
"description": "Dead code cleanup and consolidation specialist. Use for removing unused code, duplicates, and refactoring.",
|
||||
"mode": "subagent",
|
||||
"model": "anthropic/claude-opus-4-5",
|
||||
"prompt": "{file:prompts/agents/refactor-cleaner.txt}",
|
||||
"tools": {
|
||||
"read": true,
|
||||
@@ -151,7 +139,6 @@
|
||||
"go-reviewer": {
|
||||
"description": "Expert Go code reviewer specializing in idiomatic Go, concurrency patterns, error handling, and performance.",
|
||||
"mode": "subagent",
|
||||
"model": "anthropic/claude-opus-4-5",
|
||||
"prompt": "{file:prompts/agents/go-reviewer.txt}",
|
||||
"tools": {
|
||||
"read": true,
|
||||
@@ -163,7 +150,6 @@
|
||||
"go-build-resolver": {
|
||||
"description": "Go build, vet, and compilation error resolution specialist. Fixes Go build errors with minimal changes.",
|
||||
"mode": "subagent",
|
||||
"model": "anthropic/claude-opus-4-5",
|
||||
"prompt": "{file:prompts/agents/go-build-resolver.txt}",
|
||||
"tools": {
|
||||
"read": true,
|
||||
@@ -175,7 +161,6 @@
|
||||
"database-reviewer": {
|
||||
"description": "PostgreSQL database specialist for query optimization, schema design, security, and performance. Incorporates Supabase best practices.",
|
||||
"mode": "subagent",
|
||||
"model": "anthropic/claude-opus-4-5",
|
||||
"prompt": "{file:prompts/agents/database-reviewer.txt}",
|
||||
"tools": {
|
||||
"read": true,
|
||||
@@ -187,7 +172,6 @@
|
||||
"cpp-reviewer": {
|
||||
"description": "Expert C++ code reviewer specializing in memory safety, modern C++ idioms, concurrency, and performance. Use for all C++ code changes.",
|
||||
"mode": "subagent",
|
||||
"model": "anthropic/claude-opus-4-5",
|
||||
"prompt": "{file:prompts/agents/cpp-reviewer.txt}",
|
||||
"tools": {
|
||||
"read": true,
|
||||
@@ -199,7 +183,6 @@
|
||||
"cpp-build-resolver": {
|
||||
"description": "C++ build, CMake, and compilation error resolution specialist. Fixes build errors, linker issues, and template errors with minimal changes.",
|
||||
"mode": "subagent",
|
||||
"model": "anthropic/claude-opus-4-5",
|
||||
"prompt": "{file:prompts/agents/cpp-build-resolver.txt}",
|
||||
"tools": {
|
||||
"read": true,
|
||||
@@ -211,7 +194,6 @@
|
||||
"docs-lookup": {
|
||||
"description": "Documentation specialist using Context7 MCP to fetch current library and API documentation with code examples.",
|
||||
"mode": "subagent",
|
||||
"model": "anthropic/claude-sonnet-4-5",
|
||||
"prompt": "{file:prompts/agents/docs-lookup.txt}",
|
||||
"tools": {
|
||||
"read": true,
|
||||
@@ -223,7 +205,6 @@
|
||||
"harness-optimizer": {
|
||||
"description": "Analyze and improve the local agent harness configuration for reliability, cost, and throughput.",
|
||||
"mode": "subagent",
|
||||
"model": "anthropic/claude-sonnet-4-5",
|
||||
"prompt": "{file:prompts/agents/harness-optimizer.txt}",
|
||||
"tools": {
|
||||
"read": true,
|
||||
@@ -234,7 +215,6 @@
|
||||
"java-reviewer": {
|
||||
"description": "Expert Java and Spring Boot code reviewer specializing in layered architecture, JPA patterns, security, and concurrency.",
|
||||
"mode": "subagent",
|
||||
"model": "anthropic/claude-opus-4-5",
|
||||
"prompt": "{file:prompts/agents/java-reviewer.txt}",
|
||||
"tools": {
|
||||
"read": true,
|
||||
@@ -246,7 +226,6 @@
|
||||
"java-build-resolver": {
|
||||
"description": "Java/Maven/Gradle build, compilation, and dependency error resolution specialist. Fixes build errors with minimal changes.",
|
||||
"mode": "subagent",
|
||||
"model": "anthropic/claude-opus-4-5",
|
||||
"prompt": "{file:prompts/agents/java-build-resolver.txt}",
|
||||
"tools": {
|
||||
"read": true,
|
||||
@@ -258,7 +237,6 @@
|
||||
"kotlin-reviewer": {
|
||||
"description": "Kotlin and Android/KMP code reviewer. Reviews Kotlin code for idiomatic patterns, coroutine safety, Compose best practices.",
|
||||
"mode": "subagent",
|
||||
"model": "anthropic/claude-opus-4-5",
|
||||
"prompt": "{file:prompts/agents/kotlin-reviewer.txt}",
|
||||
"tools": {
|
||||
"read": true,
|
||||
@@ -270,7 +248,6 @@
|
||||
"kotlin-build-resolver": {
|
||||
"description": "Kotlin/Gradle build, compilation, and dependency error resolution specialist. Fixes Kotlin build errors with minimal changes.",
|
||||
"mode": "subagent",
|
||||
"model": "anthropic/claude-opus-4-5",
|
||||
"prompt": "{file:prompts/agents/kotlin-build-resolver.txt}",
|
||||
"tools": {
|
||||
"read": true,
|
||||
@@ -282,7 +259,6 @@
|
||||
"loop-operator": {
|
||||
"description": "Operate autonomous agent loops, monitor progress, and intervene safely when loops stall.",
|
||||
"mode": "subagent",
|
||||
"model": "anthropic/claude-sonnet-4-5",
|
||||
"prompt": "{file:prompts/agents/loop-operator.txt}",
|
||||
"tools": {
|
||||
"read": true,
|
||||
@@ -293,7 +269,6 @@
|
||||
"php-reviewer": {
|
||||
"description": "Expert PHP code reviewer specializing in PSR-12 compliance, PHP type system, Eloquent ORM patterns, security, and performance.",
|
||||
"mode": "subagent",
|
||||
"model": "anthropic/claude-opus-4-5",
|
||||
"prompt": "{file:prompts/agents/php-reviewer.txt}",
|
||||
"tools": {
|
||||
"read": true,
|
||||
@@ -305,7 +280,6 @@
|
||||
"python-reviewer": {
|
||||
"description": "Expert Python code reviewer specializing in PEP 8 compliance, Pythonic idioms, type hints, security, and performance.",
|
||||
"mode": "subagent",
|
||||
"model": "anthropic/claude-opus-4-5",
|
||||
"prompt": "{file:prompts/agents/python-reviewer.txt}",
|
||||
"tools": {
|
||||
"read": true,
|
||||
@@ -317,7 +291,6 @@
|
||||
"rust-reviewer": {
|
||||
"description": "Expert Rust code reviewer specializing in idiomatic Rust, ownership, lifetimes, concurrency, and performance.",
|
||||
"mode": "subagent",
|
||||
"model": "anthropic/claude-opus-4-5",
|
||||
"prompt": "{file:prompts/agents/rust-reviewer.txt}",
|
||||
"tools": {
|
||||
"read": true,
|
||||
@@ -329,7 +302,6 @@
|
||||
"rust-build-resolver": {
|
||||
"description": "Rust build, Cargo, and compilation error resolution specialist. Fixes Rust build errors with minimal changes.",
|
||||
"mode": "subagent",
|
||||
"model": "anthropic/claude-opus-4-5",
|
||||
"prompt": "{file:prompts/agents/rust-build-resolver.txt}",
|
||||
"tools": {
|
||||
"read": true,
|
||||
|
||||
Reference in New Issue
Block a user