Recipe config to limit tool availability (#4020)

This commit is contained in:
Jarrod Sibbison
2025-08-18 16:14:23 +10:00
committed by GitHub
parent c8d9578c3a
commit 43211803a9
13 changed files with 313 additions and 10 deletions
@@ -194,6 +194,7 @@ async fn add_extension(
description: None,
timeout,
bundled: None,
available_tools: Vec::new(),
},
ExtensionConfigRequest::StreamableHttp {
name,
@@ -211,6 +212,7 @@ async fn add_extension(
description: None,
timeout,
bundled: None,
available_tools: Vec::new(),
},
ExtensionConfigRequest::Stdio {
name,
@@ -241,6 +243,7 @@ async fn add_extension(
env_keys,
timeout,
bundled: None,
available_tools: Vec::new(),
}
}
ExtensionConfigRequest::Builtin {
@@ -253,6 +256,7 @@ async fn add_extension(
timeout,
bundled: None,
description: None,
available_tools: Vec::new(),
},
ExtensionConfigRequest::Frontend {
name,
@@ -263,6 +267,7 @@ async fn add_extension(
tools,
instructions,
bundled: None,
available_tools: Vec::new(),
},
};