Skip to content

Commit 41a97d5

Browse files
update readme
1 parent 7a1a0f2 commit 41a97d5

2 files changed

Lines changed: 76 additions & 13 deletions

File tree

‎README.md‎

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -42,19 +42,7 @@ See [Installation](#installation) for manual config, and from-source options.
4242
| `delegate_task` | Guides the host through delegating one or more tasks to OpenCode agents (start/wait/result workflow), including a model selection guide that maps each OpenCode model tier to the task difficulty it should handle |
4343

4444
## How it works
45-
46-
```
47-
Claude Code
48-
│
49-
▼
50-
MCP Server (this project)
51-
│
52-
▼
53-
OpenCode SDK / CLI
54-
│
55-
▼
56-
Subagents
57-
```
45+
![opencode mcp architecture](./opencode-architecture.svg)
5846

5947
Task delegation is **asynchronous**: starting a task returns immediately with a `task_id` instead of blocking until the subagent finishes. This lets Claude Code fire multiple `opencode_start_task` calls in parallel — each one opens an isolated OpenCode `Session` — without hitting MCP client timeouts on long-running work. Status and results are fetched separately via polling.
6048

‎opencode-architecture.svg‎

Lines changed: 75 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)