fix(plan): allowlist get_internal_docs in Plan Mode (#22668)

This commit is contained in:
Adib234
2026-03-16 20:34:30 -04:00
committed by GitHub
parent cddd9e7148
commit 61fd71dc29
5 changed files with 14 additions and 3 deletions

View File

@@ -80,7 +80,8 @@ toolName = [
"google_web_search",
"activate_skill",
"codebase_investigator",
"cli_help"
"cli_help",
"get_internal_docs"
]
decision = "allow"
priority = 70

View File

@@ -53,6 +53,6 @@ decision = "allow"
priority = 50
[[rule]]
toolName = ["codebase_investigator", "cli_help"]
toolName = ["codebase_investigator", "cli_help", "get_internal_docs"]
decision = "allow"
priority = 50

View File

@@ -266,6 +266,9 @@ export const PLAN_MODE_TOOLS = [
WEB_SEARCH_TOOL_NAME,
ASK_USER_TOOL_NAME,
ACTIVATE_SKILL_TOOL_NAME,
GET_INTERNAL_DOCS_TOOL_NAME,
'codebase_investigator',
'cli_help',
] as const;
/**