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
commit fd7b7eacd3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 580 additions and 6 deletions

View file

@ -1259,6 +1259,10 @@ export type AgentConfig = {
*/
description?: string
mode?: "subagent" | "primary" | "all"
/**
* Hide this subagent from the @ autocomplete menu (default: false, only applies to mode: subagent)
*/
hidden?: boolean
options?: {
[key: string]: unknown
}