diff --git a/packages/opencode/src/tool/task.ts b/packages/opencode/src/tool/task.ts index ad2b41f002..9cabf47eb1 100644 --- a/packages/opencode/src/tool/task.ts +++ b/packages/opencode/src/tool/task.ts @@ -37,9 +37,9 @@ export const TaskTool = Tool.define("task", async (ctx) => { const description = DESCRIPTION.replace( "{agents}", - list.map((a) => `- ${a.name}: ${a.description ?? "This subagent should only be called manually by the user."}`).join( - "\n", - ), + list + .map((a) => `- ${a.name}: ${a.description ?? "This subagent should only be called manually by the user."}`) + .join("\n"), ) return { description,