fix(tool-registry): pass plugins config to skill tool for proper command filtering (fixes #3582)
This commit is contained in:
@@ -244,6 +244,8 @@ export function createToolRegistry(args: {
|
|||||||
gitMasterConfig: pluginConfig.git_master,
|
gitMasterConfig: pluginConfig.git_master,
|
||||||
browserProvider: skillContext.browserProvider,
|
browserProvider: skillContext.browserProvider,
|
||||||
nativeSkills: "skills" in ctx ? (ctx as { skills: SkillLoadOptions["nativeSkills"] }).skills : undefined,
|
nativeSkills: "skills" in ctx ? (ctx as { skills: SkillLoadOptions["nativeSkills"] }).skills : undefined,
|
||||||
|
pluginsEnabled: pluginConfig.claude_code?.plugins ?? true,
|
||||||
|
enabledPluginsOverride: pluginConfig.claude_code?.plugins_override,
|
||||||
})
|
})
|
||||||
|
|
||||||
const taskSystemEnabled = isTaskSystemEnabled(pluginConfig)
|
const taskSystemEnabled = isTaskSystemEnabled(pluginConfig)
|
||||||
|
|||||||
Reference in New Issue
Block a user