From 3d48c14d2947f7dc6852cd9f5384af0d740e3450 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rui=20Ferr=C3=A3o?= Date: Mon, 20 Oct 2025 18:16:09 +0100 Subject: [PATCH] =?UTF-8?q?docs:=20clarify=20the=20effects=20of=20the=20su?= =?UTF-8?q?btask=20command=20option=20with=20primary=20=E2=80=A6=20(#3299)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/web/src/content/docs/commands.mdx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/web/src/content/docs/commands.mdx b/packages/web/src/content/docs/commands.mdx index 50f736b7..adfa3fbf 100644 --- a/packages/web/src/content/docs/commands.mdx +++ b/packages/web/src/content/docs/commands.mdx @@ -247,7 +247,8 @@ This is an **optional** config option. If not specified, defaults to your curren ### Subtask Use the `subtask` boolean to force the command to trigger a [subagent](/docs/agents/#subagents) invocation. -This useful if you want the command to not pollute your primary context. +This useful if you want the command to not pollute your primary context and will **force** the agent to act as a subagent, +even if `mode` is set to `primary` on the [agent](/docs/agents) configuration. ```json title="opencode.json" {