Added: Ability to hide subagents from primary agents system prompt. (#4773)

Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
This commit is contained in:
Sewer.
2026-01-07 04:29:17 +00:00
committed by GitHub
parent eaa0826e7f
commit fd7b7eacd3
8 changed files with 580 additions and 6 deletions

View File

@@ -465,6 +465,10 @@ export namespace Config {
disable: z.boolean().optional(),
description: z.string().optional().describe("Description of when to use the agent"),
mode: z.enum(["subagent", "primary", "all"]).optional(),
hidden: z
.boolean()
.optional()
.describe("Hide this subagent from the @ autocomplete menu (default: false, only applies to mode: subagent)"),
options: z.record(z.string(), z.any()).optional(),
color: z
.string()
@@ -490,6 +494,7 @@ export namespace Config {
"temperature",
"top_p",
"mode",
"hidden",
"color",
"steps",
"maxSteps",