Claude
This commit is contained in:
+29
-21
@@ -2,38 +2,42 @@
|
||||
"$schema": "https://opencode.ai/config.json",
|
||||
"model": "github-copilot/claude-sonnet-4.6",
|
||||
"instructions": [],
|
||||
"plugin": ["opencode-copilot-1m"],
|
||||
"provider": {},
|
||||
"lsp": true,
|
||||
"permission": {
|
||||
"external_directory": {
|
||||
"~/Projects/**": "allow",
|
||||
"/tmp": "allow"
|
||||
}
|
||||
},
|
||||
"agent": {
|
||||
"plan": {
|
||||
"mode": "primary",
|
||||
"model": "github-copilot/claude-sonnet-4.6",
|
||||
"prompt": "You are OpenCode's architect. When given a problem, analyze the codebase and write out a strict step-by-step master plan. Once approved, use the 'todo' tool to track tasks and delegate implementation details to the general subagents using @general.",
|
||||
"permission": {
|
||||
"edit": "deny",
|
||||
"bash": "deny",
|
||||
"subagent": "allow"
|
||||
}
|
||||
"model": "github-copilot/claude-opus-4.8-1m",
|
||||
"prompt": "Architect agent. Analyzes codebase and outputs a hyper-specific, step-by-step technical blueprint into .opencode_blueprint.md. Does NOT write feature code.",
|
||||
"permission": { "edit": "allow", "bash": "allow" }
|
||||
},
|
||||
"execute": {
|
||||
"model": "github-copilot/claude-sonnet-4.6-1m",
|
||||
"temperature": 0.2,
|
||||
"prompt": "Orchestrator agent. Reads .opencode_blueprint.md, breaks tasks into micro-steps, and delegates individual file edits/terminal tasks to subagents. Your primary job is delegation and verification.",
|
||||
"permission": { "edit": "allow", "bash": "allow" }
|
||||
},
|
||||
"build": {
|
||||
"mode": "primary",
|
||||
"model": "github-copilot/claude-sonnet-4.6",
|
||||
"permission": {
|
||||
"edit": "allow",
|
||||
"bash": "allow"
|
||||
}
|
||||
},
|
||||
"explore": {
|
||||
"model": "github-copilot/claude-haiku-4.5"
|
||||
"model": "github-copilot/claude-sonnet-4.6-1m",
|
||||
"temperature": 0.2,
|
||||
"permission": { "edit": "allow", "bash": "allow" }
|
||||
},
|
||||
"general": {
|
||||
"mode": "subagent",
|
||||
"model": "github-copilot/claude-haiku-4.5",
|
||||
"description": "A fresh-context, general-purpose agent for executing individual units of multi-step tasks.",
|
||||
"permission": {
|
||||
"edit": "allow",
|
||||
"bash": "allow"
|
||||
}
|
||||
"temperature": 0.1,
|
||||
"prompt": "Execution subagent. Takes a single, isolated task and explicit file paths provided by the Build orchestrator. Do not blind-search; rely strictly on paths given.",
|
||||
"permission": { "edit": "allow", "bash": "allow" }
|
||||
},
|
||||
"explore": {
|
||||
"model": "github-copilot/claude-haiku-4.5"
|
||||
}
|
||||
},
|
||||
"autoupdate": false,
|
||||
@@ -44,6 +48,10 @@
|
||||
"figma": {
|
||||
"type": "remote",
|
||||
"url": "http://127.0.0.1:3845/mcp"
|
||||
},
|
||||
"ios-simulator": {
|
||||
"type": "local",
|
||||
"command": ["npx", "-y", "ios-simulator-mcp"]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user