chore: merge dev into v2

This commit is contained in:
Aiden Cline 2026-07-15 20:14:37 +00:00
commit 55554213a6
65 changed files with 554 additions and 258 deletions

View file

@ -2,7 +2,7 @@
"name": "@opencode-ai/web",
"type": "module",
"license": "MIT",
"version": "1.17.20",
"version": "1.18.2",
"scripts": {
"dev": "astro dev",
"dev:remote": "VITE_API_URL=https://api.opencode.ai astro dev",

View file

@ -538,6 +538,21 @@ This setting applies across all interfaces: TUI, CLI (`opencode run`), desktop a
---
### Subagent depth
You can control how deeply subagents can invoke other subagents using the `subagent_depth` option.
```json title="opencode.json"
{
"$schema": "https://opencode.ai/config.json",
"subagent_depth": 2
}
```
The default is `1`, which allows primary agents to launch subagents but prevents those subagents from launching additional subagents. Set it to `2` to allow one additional level of nested subagents, or `0` to prevent all subagent launches.
---
### Sharing
You can configure the [share](/docs/share) feature through the `share` option.