Wiring more

This commit is contained in:
Illia Polosukhin
2026-02-03 10:08:06 -08:00
parent 235f6aae18
commit 7210470544
18 changed files with 553 additions and 137 deletions
+1
View File
@@ -411,6 +411,7 @@ fn get_json_path<'a>(value: &'a serde_json::Value, path: &str) -> Option<&'a ser
}
/// Generate basic test cases for a tool based on its schema.
#[allow(dead_code)] // Public API for auto-generating test cases
pub fn generate_basic_tests(name: &str, input_schema: &serde_json::Value) -> TestSuite {
let mut suite = TestSuite::new(format!("{}_basic_tests", name));
suite.description = Some("Auto-generated basic tests".to_string());
+1
View File
@@ -51,6 +51,7 @@ pub struct SandboxResult {
/// Sandbox for executing untrusted code.
pub struct ToolSandbox {
#[allow(dead_code)] // Will be used when sandbox execution is implemented
config: SandboxConfig,
}
+2
View File
@@ -68,10 +68,12 @@ pub struct WasmResourceLimiter {
/// Maximum tables allowed.
max_tables: u32,
/// Current table count.
#[allow(dead_code)] // Reserved for table limit enforcement
tables_created: u32,
/// Maximum instances allowed.
max_instances: u32,
/// Current instance count.
#[allow(dead_code)] // Reserved for instance limit enforcement
instances_created: u32,
}