fix(core): limit subagent nesting depth (#37124)

Co-authored-by: Dax <mail@thdxr.com>
This commit is contained in:
opencode-agent[bot] 2026-07-15 09:53:52 -05:00 committed by GitHub
commit 285d315b4e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 99 additions and 1 deletions

View file

@ -1928,6 +1928,7 @@ export type Config = {
model?: string
small_model?: string
default_agent?: string
subagent_depth?: number
username?: string
mode?: {
build?: AgentConfig